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

Integrate objdump and similar tools into zig binary #2052

Open
justinbalexander opened this issue Mar 11, 2019 · 1 comment
Open

Integrate objdump and similar tools into zig binary #2052

justinbalexander opened this issue Mar 11, 2019 · 1 comment
Labels
accepted This proposal is planned. proposal This issue suggests modifications. If it also has the "accepted" label then it is planned.
Milestone

Comments

@justinbalexander
Copy link
Contributor

It would be nice to be able to use objdump from zig, especially now that it can compile c files.

I appreciate listing files using

echo "----------DISASSEMBLY OF ALL SECTIONS---------" > list_file.lst
llvm-objdump -D output.elf >> list_file.lst
echo "---------SECTION SUMMARY/SYMBOL TABLE---------" >> list_file.lst
llvm-objdump -x output.elf >> list_file.lst
echo "--------------SECTION SIZES-------------------" >> list_file.lst
llvm-size output.elf >> list_file.lst

I use files like these all the time at work.

@andrewrk andrewrk added this to the 0.5.0 milestone Mar 11, 2019
@andrewrk andrewrk added the enhancement Solving this issue will likely involve adding new logic or components to the codebase. label Mar 11, 2019
@andrewrk
Copy link
Member

I think this is definitely worth investigating. You can see it's even an item on the roadmap for my embedded project: https://github.com/andrewrk/clashos/tree/054faa73803f71edc1d0073cb1fa30b506d4fe4f#roadmap

@andrewrk andrewrk modified the milestones: 0.5.0, 0.6.0 Apr 30, 2019
@andrewrk andrewrk modified the milestones: 0.6.0, 0.7.0 Oct 17, 2019
@andrewrk andrewrk added proposal This issue suggests modifications. If it also has the "accepted" label then it is planned. and removed enhancement Solving this issue will likely involve adding new logic or components to the codebase. labels Oct 13, 2020
@andrewrk andrewrk modified the milestones: 0.7.0, 0.8.0 Oct 13, 2020
@andrewrk andrewrk modified the milestones: 0.8.0, 0.9.0 May 19, 2021
@andrewrk andrewrk modified the milestones: 0.9.0, 0.10.0 Nov 23, 2021
@andrewrk andrewrk modified the milestones: 0.10.0, 0.11.0 Apr 16, 2022
@andrewrk andrewrk added the accepted This proposal is planned. label Apr 9, 2023
@andrewrk andrewrk modified the milestones: 0.11.0, 0.13.0 Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted This proposal is planned. proposal This issue suggests modifications. If it also has the "accepted" label then it is planned.
Projects
None yet
Development

No branches or pull requests

2 participants