Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 3 of 3
  1. #1
    Donatigno is offline Registered User
    Join Date
    Mar 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problem to install OBJDUMP, or there is another disassemblator of binary code?

    Hi,

    i'm italian and i need your help.

    For to disassemble binary code on ubuntu, you use the command objdump, already implemented on it.

    But if i want disassemble with mac binary code?

    I tried to install just the famous objdump but I can not.

    Surfing the internet, I read that is contained in Binutils, command objdump, and I downloaded from here:

    http://ftp.gnu.org/gnu/binutils/?C=M;O=D

    binutils-2.20.1.tar.gz 03-Mar-2010 10:21 22M

    On wikipedia, it says to do in this way to install it:

    Unzip the file, enter the folder and add this code in bash:

    ./configure --target=avr
    make
    sudo make install

    But it gives me several errors and nothing ... I did not install.

    Others say to install Darwin Ports, but do not know how to install it and install it if you really need to have a simple command "objdump" to need to disassemble.

    Can someone help me?

    I hope to have some savings to help me, I need to practice in the laboratory of my university, but they all use ubuntu, and my bash I think not it less then other in ubuntu... It 's absurd if I had to settle with bootcamp UBUNTU.


    WE HELP ME PLEASE?



    THANKS MAC-GUYS

    (sorry for my English, I hope I could express myself well)
    Last edited by Donatigno; March 20th, 2010 at 07:19 PM.

  2. #2
    fintler's Avatar
    fintler is offline Registered User
    Join Date
    Sep 2000
    Posts
    33
    Thanks
    0
    Thanked 1 Time in 1 Post
    Perhaps take a look at otool -- or even gdb's runtime dissas command.

  3. #3
    fintler's Avatar
    fintler is offline Registered User
    Join Date
    Sep 2000
    Posts
    33
    Thanks
    0
    Thanked 1 Time in 1 Post
    Also, you may want to take a look at the Fink project (http://www.finkproject.org/) as an alternative to ports.

    After rereading your post, it appears that you're trying to cross-compile to an AVR target? Have you considered starting off using arduino processing instead of directly targeting the chipset?

    Take a look at http://www.arduino.cc/en/Guide/MacOSX It may give you a better understanding of embedded development before you're exposed to directly hacking opcodes in a binary.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •