Skip to content

Can radare2 perfectly detect the function boundaries of any ELF? #24073

Closed Answered by trufae
yomaytk asked this question in Q&A
Discussion options

You must be logged in to vote

switch tables and reused basic blocks across functions are the most annoying code constructions nowadays, and compilers evolve to make things weirder on every update. no need for obfuscations to break analysis, so i would never guarantee that. i dont think any tool can guarantee this. but as said, r2 does it's best to achieve that and any case that doesn't work should be reported and fixed. also im considering you are refering to x86-64, because there are many tricky constructions on x86-16 or arm-thumb2 that are hard to autoanalize properly without human interaction

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@yomaytk
Comment options

@trufae
Comment options

Answer selected by yomaytk
@yomaytk
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants