-
-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Process noreturn functions also for relocations #799
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #799 +/- ##
==========================================
+ Coverage 42.79% 42.82% +0.03%
==========================================
Files 871 871
Lines 316903 316936 +33
==========================================
+ Hits 135631 135741 +110
+ Misses 181272 181195 -77
Continue to review full report at Codecov.
|
This comment has been minimized.
This comment has been minimized.
Since you are iterating over all xrefs anyway, |
c1a23c1
to
1026a28
Compare
This comment has been minimized.
This comment has been minimized.
574de2f
to
629f37b
Compare
Your checklist for this pull request
Detailed description
There are some binaries that call noreturn functions e.g.
exit
only after processing relocations. Disassembly shows these functions just fine, but during the analysis noreturn propagation stage they are not processed properly.Test plan
Before the patch it didn't stop at
0x08000631 call exit ; RELOC 32 exit
function since the call target before the relocation is0
.filetime.c-clang-x64-O0.o.zip