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

retsnoop: build addr2line from the source. #3

Merged
merged 1 commit into from
Nov 10, 2021

Conversation

ThinkerYzu1
Copy link
Contributor

Use the source of the implementation of addr2line in the examples/
directory of gimli-rs to build a binary to keep tools/addr2line
always update-to-date.

Signed-off-by: Thinker Lee [email protected]

Copy link
Owner

@anakryiko anakryiko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few nits, but other than that it looks great and works good. I've tested this locally and everything works! This sets up a good base to add more Rust to retsnoop :)

src/Makefile Outdated Show resolved Hide resolved
src/Makefile Outdated Show resolved Hide resolved
src/Makefile Outdated Show resolved Hide resolved
src/Makefile Outdated Show resolved Hide resolved
src/Makefile Show resolved Hide resolved
Use the source of the implementation of addr2line in the examples/
directory of gimli-rs to build a binary to keep tools/addr2line
always update-to-date.

Signed-off-by: Thinker Lee <[email protected]>
@anakryiko anakryiko merged commit dc40373 into anakryiko:master Nov 10, 2021
@anakryiko
Copy link
Owner

I can't say I understand how this works, but I tried to make it work the way I was describing, and it didn't work :)

You forgot to update .gitignore, but I'll just push it as a separate commit, no worries. Thanks for working on this!

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.

2 participants