diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-04-30 19:21:29 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-04-30 19:21:29 (GMT) |
commit | 33880cfe5e5de8b81e8a825878b3bbe8ef736f3f (patch) | |
tree | 9dcbe3e9e9903e447eeac916be689cd2d39614de /plugins/readelf/program.c | |
parent | b16071a35adaf95d5e67b0dd984e9ba9d7ba28f9 (diff) |
Parsed Dex format fields using the new generic parser.
Diffstat (limited to 'plugins/readelf/program.c')
-rw-r--r-- | plugins/readelf/program.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/readelf/program.c b/plugins/readelf/program.c index ba47639..b1e253a 100644 --- a/plugins/readelf/program.c +++ b/plugins/readelf/program.c @@ -287,28 +287,28 @@ static bool annotate_elf_program_header(GElfFormat *format, SourceEndian endian, bformat = G_BIN_FORMAT(format); - result = parse_field_definitions(_elf_phdr_base, ARRAY_SIZE(_elf_phdr_base), bformat, pos); + result = parse_field_definitions(PARSING_DEFS(_elf_phdr_base), bformat, pos, NULL); if (format->is_32b) { if (result) - result = parse_field_definitions(_elf_phdr_32b_a, ARRAY_SIZE(_elf_phdr_32b_a), bformat, pos); + result = parse_field_definitions(PARSING_DEFS(_elf_phdr_32b_a), bformat, pos, NULL); if (result) - 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_phdr_32b_b, ARRAY_SIZE(_elf_phdr_32b_b), bformat, pos); + result = parse_field_definitions(PARSING_DEFS(_elf_phdr_32b_b), bformat, pos, NULL); } else { if (result) - 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_phdr_64b, ARRAY_SIZE(_elf_phdr_64b), bformat, pos); + result = parse_field_definitions(PARSING_DEFS(_elf_phdr_64b), bformat, pos, NULL); } |