Skip to content

Conversation

@ivg
Copy link
Member

@ivg ivg commented Aug 5, 2020

Since #1187 (on which this PR is based) we have full information about name references so we can devise a precise check for whether we need to insert the __libc_start_main function, i.e., we can just look if it is referenced in the binary.

This PR also adds format and is-executable properties both to the OGRE representation and to the Core Theory. They are not used for the glibc runtime check (though meant to be used originally), but deem useful.

Fixes #1130.

@ivg
Copy link
Member Author

ivg commented Aug 5, 2020

Once #1187 goes into master, I will rebase this PR.

We are not using is-executable for the glibc runtime check though,
as we have a more precise check now - we can look for the name
reference of __libc_start_main and if it is there insert it.

fixes BinaryAnalysisPlatform#1130
@ivg ivg force-pushed the fix-glibc-runtime branch from 8d7d921 to 1a6ac57 Compare August 5, 2020 16:28
@ivg ivg merged commit 856edb2 into BinaryAnalysisPlatform:master Aug 5, 2020
@ivg ivg deleted the fix-glibc-runtime branch March 9, 2022 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

the glibc-runtime heuristic is not precise enough

1 participant