Skip to content

Commit

Permalink
fixed bug in elf_scop_text_filesz
Browse files Browse the repository at this point in the history
  • Loading branch information
elfmaster committed Oct 25, 2019
1 parent 2585218 commit f7b1dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libelfmaster.c
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ elf_scop_text_filesz(elfobj_t *obj)
size_t total = 0;

if (peu_probable(elf_flags(obj, ELF_SCOP_F) == false)) {
return elf_text_base(obj);
return elf_text_filesz(obj);
}
elf_segment_iterator_init(obj, &iter);
for (;;) {
Expand Down

0 comments on commit f7b1dda

Please sign in to comment.