Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Zero-sized symbol on end of section #15

Open
shenhanc78 opened this issue Jun 22, 2018 · 0 comments
Open

Zero-sized symbol on end of section #15

shenhanc78 opened this issue Jun 22, 2018 · 0 comments

Comments

@shenhanc78
Copy link

shenhanc78 commented Jun 22, 2018

Hi, we got an internal error for a symbol sitting right on the edge of section end.

  [13] xxx_malloc        PROGBITS        00000000238aa800 238aa800 001c7a 00  AX  0   0 64
  [14] malloc_hook       PROGBITS        00000000238ac480 238ac480 0006c2 00  AX  0   0 16

And we have a symbol with size 0 sitting exactly on the end of the section.
xxx at 0x238ac47a = (00000000238aa800 + 001c7a)
So BinaryContext::getSectionFromAddress fails to find a home for the symbol.

The fix is straightforward, does it make sense to you to include zero-sized symbol on edge of section end?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant