fix for statically linked PPC binary with no .plt#46
Merged
ltfish merged 1 commit intoangr:masterfrom Nov 14, 2016
ocean1:PPC_staticallylinked
Merged
fix for statically linked PPC binary with no .plt#46ltfish merged 1 commit intoangr:masterfrom ocean1:PPC_staticallylinked
ltfish merged 1 commit intoangr:masterfrom
ocean1:PPC_staticallylinked
Conversation
Member
|
Looks good to me. Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
this PPC binary is statically linked, and seems to not have a .plt section:
https://github.com/ctfs/write-ups-2016/tree/master/hitcon-ctf-2016/ppc/flame-150
loading the binary fails with:
File "/home/ocean/.venvironments/angr/local/lib/python2.7/site-packages/cle/backends/metaelf.py", line 78, in _load_plt stubs_table = resolver_stubs[0][0] - 16 * len(resolver_stubs) IndexError: list index out of rangejust added a check on resolver_stubs to be non-empty