ELF object file analysis tool in Python?

Discussion in 'Python' started by John Benson, Mar 3, 2004.

  1. John Benson

    John Benson Guest

    I already googled and only turned up some references dating from 2000.
    Anybody know of any current Python tool that can open up and dissect
    information from an ELF (Executable and Linking Format) object file? I don't
    care about machine language stuff, but goodies like what sources were used
    in the compile, and what routines are used.
    John Benson, Mar 3, 2004
    #1
    1. Advertising

  2. John Benson

    Miki Tebeka Guest

    Hello John,

    > I already googled and only turned up some references dating from 2000.
    > Anybody know of any current Python tool that can open up and dissect
    > information from an ELF (Executable and Linking Format) object file? I don't
    > care about machine language stuff, but goodies like what sources were used
    > in the compile, and what routines are used.


    Just parse the output of `objdump -g'. Note that some compiler (such as
    MSVC) save the debug information in a different file (.pdb).

    HTH.
    Miki
    Miki Tebeka, Mar 3, 2004
    #2
    1. Advertising

  3. John Benson

    Miki Tebeka Guest

    Hello John,

    > I already googled and only turned up some references dating from 2000.
    > Anybody know of any current Python tool that can open up and dissect
    > information from an ELF (Executable and Linking Format) object file? I don't
    > care about machine language stuff, but goodies like what sources were used
    > in the compile, and what routines are used.


    Just parse the output of `objdump -g'. Note that some compiler (such as
    MSVC) save the debug information in a different file (.pdb).

    HTH.
    Miki
    Miki Tebeka, Mar 3, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. a_bogdan_marinescu

    PE and ELF libraries for Python

    a_bogdan_marinescu, Nov 21, 2003, in forum: Python
    Replies:
    0
    Views:
    304
    a_bogdan_marinescu
    Nov 21, 2003
  2. Bogdan Marinescu

    Looking for ELF/PE library for Python

    Bogdan Marinescu, Dec 11, 2003, in forum: Python
    Replies:
    1
    Views:
    438
    Miki Tebeka
    Dec 11, 2003
  3. John Benson
    Replies:
    1
    Views:
    1,516
    Bob Ippolito
    Mar 7, 2004
  4. Ender.Dai
    Replies:
    8
    Views:
    934
    Default User
    Nov 30, 2006
  5. Replies:
    4
    Views:
    751
    Tim Slattery
    Oct 22, 2008
Loading...

Share This Page