diff options
Diffstat (limited to 'plugins/readelf/section.c')
-rw-r--r-- | plugins/readelf/section.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/readelf/section.c b/plugins/readelf/section.c index e689aac..6161892 100644 --- a/plugins/readelf/section.c +++ b/plugins/readelf/section.c @@ -370,21 +370,21 @@ static bool annotate_elf_section_header(GElfFormat *format, SourceEndian endian, bformat = G_BIN_FORMAT(format); - result = parse_field_definitions(&name_field, 1, bformat, pos); + result = parse_field_definitions(&name_field, 1, bformat, pos, NULL); if (result) - result = parse_field_definitions(_elf_sh_type, ARRAY_SIZE(_elf_sh_type), bformat, pos); + result = parse_field_definitions(PARSING_DEFS(_elf_sh_type), bformat, pos, NULL); if (format->is_32b) { if (result) { flags_field.size = MDS_32_BITS; - result = parse_field_definitions(&flags_field, 1, bformat, pos); + result = parse_field_definitions(&flags_field, 1, bformat, pos, NULL); } if (result) - result = parse_field_definitions(_elf_shdr_32b, ARRAY_SIZE(_elf_shdr_32b), bformat, pos); + result = parse_field_definitions(PARSING_DEFS(_elf_shdr_32b), bformat, pos, NULL); } else @@ -392,11 +392,11 @@ static bool annotate_elf_section_header(GElfFormat *format, SourceEndian endian, if (result) { flags_field.size = MDS_64_BITS; - result = parse_field_definitions(&flags_field, 1, bformat, pos); + result = parse_field_definitions(&flags_field, 1, bformat, pos, NULL); } if (result) - result = parse_field_definitions(_elf_shdr_64b, ARRAY_SIZE(_elf_shdr_64b), bformat, pos); + result = parse_field_definitions(PARSING_DEFS(_elf_shdr_64b), bformat, pos, NULL); } |