Skip to content

[Auditor] Use executables from Binutils_jll when possible #1365

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

Merged
merged 2 commits into from
Feb 11, 2025

Conversation

giordano
Copy link
Member

No description provided.

objdump_cmd = "llvm-objdump -d $(basename(path))"
objdump_args = `-d $(basename(path))`
if Binutils_jll.is_available() && (Sys.islinux(platform) || Sys.isfreebsd(platform))
run(ignorestatus(pipeline(`$(Binutils_jll.objdump()) $(objdump_args)`; stdout=output, stderr=devnull)))
Copy link
Member Author

Choose a reason for hiding this comment

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

Running objdump can take a long time, depending on the size of binary file. If this works, removing a lock acquisition here can be very beneficial for parallelism in presence of several object files to analyze.

Copy link
Member Author

Choose a reason for hiding this comment

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

It doesn't work, sigh.

@giordano giordano force-pushed the mg/auditor-binutils branch 6 times, most recently from b761a9e to 8c2134b Compare February 10, 2025 00:58
@giordano giordano force-pushed the mg/auditor-binutils branch from 8c2134b to 50162dd Compare February 10, 2025 11:34
Sadly it doesn't seem to be working.
@giordano giordano force-pushed the mg/auditor-binutils branch from 0e05549 to 1c2ce25 Compare February 10, 2025 23:43
@giordano giordano merged commit ef1bc6b into master Feb 11, 2025
10 checks passed
@giordano giordano deleted the mg/auditor-binutils branch February 11, 2025 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant