Skip to content
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

Map LLVM bug paths back to source #6

Open
deian opened this issue Aug 12, 2020 · 1 comment
Open

Map LLVM bug paths back to source #6

deian opened this issue Aug 12, 2020 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@deian
Copy link
Member

deian commented Aug 12, 2020

No description provided.

@deian deian added enhancement New feature or request good first issue Good for newcomers labels Aug 12, 2020
@PLSysSec PLSysSec deleted a comment from chadbrewbaker Nov 4, 2020
@PLSysSec PLSysSec deleted a comment from chadbrewbaker Nov 4, 2020
@marcinguy
Copy link

I will look into it when I have time:

This could be helpful:
github.com/avast/retdec

Or

https://llvm.org/docs/SourceLevelDebugging.html

@deian and others: have you make some thoughts how to achieve llvm mapping to code?

For both I can assume you have to disable compiler optimizations and for second compile with debug symbols (-g). Llvm seems to store this info in ll file (debug metadata with lines & column info). Still digesting how to get the corresponsing code source locations.

I can assume you can get last path item from bug path and point to code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants