ObjectDumper, a small GUI for objdump
- max
- Member
- Posts: 616
- Joined: Mon Mar 05, 2012 11:23 am
- Libera.chat IRC: maxdev
- Location: Germany
- Contact:
ObjectDumper, a small GUI for objdump
Hey guys,
so I recently made a small tool to make it more comfortable for me to disassemble my applications to find where errors occurred and stuff. It's basically a UI for objdump and uses the local installation to disassemble the binary and display it in an outline. You can then navigate through it either by clicking through the calls/jmps, entering a address, searching for functions or navigating through the history.
Here's a little video showing the usage: https://vimeo.com/179351807
I was just curious if anyone else would be interested in using this. If so, I'll put it on a GitHub repository and make it GPL. It's not very advanced yet (I actually started developing it yesterday) - feature ideas are very welcome. It's platform independent (written in Java).
Greets
so I recently made a small tool to make it more comfortable for me to disassemble my applications to find where errors occurred and stuff. It's basically a UI for objdump and uses the local installation to disassemble the binary and display it in an outline. You can then navigate through it either by clicking through the calls/jmps, entering a address, searching for functions or navigating through the history.
Here's a little video showing the usage: https://vimeo.com/179351807
I was just curious if anyone else would be interested in using this. If so, I'll put it on a GitHub repository and make it GPL. It's not very advanced yet (I actually started developing it yesterday) - feature ideas are very welcome. It's platform independent (written in Java).
Greets
Re: ObjectDumper, a small GUI for objdump
Looks great, do you have a setting to use Intel syntax instead of AT&T? I think the parameter to objdump is -mintel or something.
com.sun.java.swing.plaf.nimbus.InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState
Compiler Development Forum
Compiler Development Forum
Re: ObjectDumper, a small GUI for objdump
Looks great, do you have a windows version?
For me I used a Visual Studio text editor, using find....
For me I used a Visual Studio text editor, using find....
- max
- Member
- Posts: 616
- Joined: Mon Mar 05, 2012 11:23 am
- Libera.chat IRC: maxdev
- Location: Germany
- Contact:
Re: ObjectDumper, a small GUI for objdump
Thanks for the input guys! I appreciate it.
I'll try to get an alpha release ready for you guys in the next days.
I'll add this to the settings.zenzizenzicube wrote:Looks great, do you have a setting to use Intel syntax instead of AT&T? I think the parameter to objdump is -mintel or something.
Yes it runs on Windows, tootsdnz wrote:Looks great, do you have a windows version?
I'll try to get an alpha release ready for you guys in the next days.
Re: ObjectDumper, a small GUI for objdump
Looks great, thanks for sharing
Re: ObjectDumper, a small GUI for objdump
Looks good! Please make it Ubuntu compatible.
Last edited by Octacone on Thu Jul 13, 2017 3:44 am, edited 2 times in total.
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
Re: ObjectDumper, a small GUI for objdump
Looks fine, I might try it.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
- Alan Kay
- Alan Kay
Re: ObjectDumper, a small GUI for objdump
Very cool dude, thanks a bunch.
If some of you people keep insisting on having backwards compatibitity with the stone age, we'll have stone tools forever.
My Hobby OS: https://github.com/heatd/Onyx
My Hobby OS: https://github.com/heatd/Onyx
- max
- Member
- Posts: 616
- Joined: Mon Mar 05, 2012 11:23 am
- Libera.chat IRC: maxdev
- Location: Germany
- Contact:
Re: ObjectDumper, a small GUI for objdump
Here's version 1.0! This is an alpha release, so don't expect it all to work perfectly.
Binary: https://ghostkernel.org/files/ObjectDumper-1.0-bin.zip
Sources: https://ghostkernel.org/files/ObjectDumper-1.0-src.zip
Would love to hear some feedback, feel free to write me here if you encounter a bug!
Binary: https://ghostkernel.org/files/ObjectDumper-1.0-bin.zip
Sources: https://ghostkernel.org/files/ObjectDumper-1.0-src.zip
- General features:
- Runs on all platforms that support Java
- Decompiles binaries with objdump
- Displays an outline tree of all functions in all sections
- Filter functions by name (with advanced search, use "*" for any string)
- Which executable to use for objdump is configurable (e.g. your custom i686-myos-objdump)
- Assembly dialect is configurable
Navigation features: - Use history for navigating back/forward
- Hop through code by clicking on jump/call instructions
- Going to a specific address
- Finding all locations that call a specific function
- Finding all locations that jump to a specific location
Would love to hear some feedback, feel free to write me here if you encounter a bug!
Re: ObjectDumper, a small GUI for objdump
Works perfectly on Java 8 on Debian. I love the find callers feature.
My only (tiny) nitpick is that the file explorer seems a bit clunky.
My only (tiny) nitpick is that the file explorer seems a bit clunky.
com.sun.java.swing.plaf.nimbus.InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState
Compiler Development Forum
Compiler Development Forum
- max
- Member
- Posts: 616
- Joined: Mon Mar 05, 2012 11:23 am
- Libera.chat IRC: maxdev
- Location: Germany
- Contact:
Re: ObjectDumper, a small GUI for objdump
Very nice to hear!zenzizenzicube wrote:Works perfectly on Java 8 on Debian. I love the find callers feature.
My only (tiny) nitpick is that the file explorer seems a bit clunky.
The standard Java filechooser is terrible, I know. I'll add my own implementation for this in one of the next version.
Re: ObjectDumper, a small GUI for objdump
YOU made this? Wow! Pretty amazing!
- max
- Member
- Posts: 616
- Joined: Mon Mar 05, 2012 11:23 am
- Libera.chat IRC: maxdev
- Location: Germany
- Contact:
Re: ObjectDumper, a small GUI for objdump
Thanks friendLukand wrote:YOU made this? Wow! Pretty amazing!
It's just a little side project
Just found some bugs and made a little update.
Binaries: https://ghostkernel.org/files/ObjectDumper-1.1-bin.zip
Sources: https://ghostkernel.org/files/ObjectDumper-1.1-src.zip
- Fixed a bug where files would not be parsed correctly
- Added name of the currently open file to the window title
Re: ObjectDumper, a small GUI for objdump
Works perfectly, but only with x86(_64)! objdump for ARM is obviously unable to understand what 'att' and 'intel' are. Aside from ARM support, I'd like to see a history of selected objdump paths and an ability to press 'return' to follow the call on the current line. Many thanks for the tool!
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
- Alan Kay
- Alan Kay
- max
- Member
- Posts: 616
- Joined: Mon Mar 05, 2012 11:23 am
- Libera.chat IRC: maxdev
- Location: Germany
- Contact:
Re: ObjectDumper, a small GUI for objdump
Hey Roman,
I noted the thing with multiple different objdumps, I think I'll add a kind of "profiles" where you can configure different installations.
Thanks for the feedback!
I'll have a look at the ARM problem.Roman wrote:Works perfectly, but only with x86(_64)! objdump for ARM is obviously unable to understand what 'att' and 'intel' are. Aside from ARM support, I'd like to see a history of selected objdump paths[...]
I noted the thing with multiple different objdumps, I think I'll add a kind of "profiles" where you can configure different installations.
What do you mean with that? Do you mean returning on "RET" instructions? I could make this either jump back in history, or show the "Find callers" window?Roman wrote:[...] and an ability to press 'return' to follow the call on the current line.
Thanks for the feedback!