Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    readelf?

    Reply
    TDSii | # 1 | 2010-12-27, 03:40 | Report

    i am making a project for the university to propose a new generic security for mobiles.

    i noticed that readelf command that is supposedly buildin in all linux distros is not working.

    anyone can tell how to install this or make it working?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lma | # 2 | 2010-12-27, 13:52 | Report

    Originally Posted by TDSii View Post
    i noticed that readelf command that is supposedly buildin in all linux distros is not working.
    Hm, readelf works for me:

    Code:
    [sbox-FREMANTLE_ARMEL: ~] > readelf  -h a.out 
    ELF Header:
      Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 
      Class:                             ELF32
      Data:                              2's complement, little endian
      Version:                           1 (current)
      OS/ABI:                            UNIX - System V
      ABI Version:                       0
      Type:                              EXEC (Executable file)
      Machine:                           ARM
      Version:                           0x1
      Entry point address:               0x82d0
      Start of program headers:          52 (bytes into file)
      Start of section headers:          1720 (bytes into file)
      Flags:                             0x5000002, has entry point, Version5 EABI
      Size of this header:               52 (bytes)
      Size of program headers:           32 (bytes)
      Number of program headers:         8
      Size of section headers:           40 (bytes)
      Number of section headers:         29
      Section header string table index: 26
    What is the problem you're having exactly?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Radicalz38 | # 3 | 2010-12-27, 13:58 | Report

    Originally Posted by lma View Post
    Hm, readelf works for me:

    Code:
    [sbox-FREMANTLE_ARMEL: ~] > readelf  -h a.out 
    ELF Header:
      Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 
      Class:                             ELF32
      Data:                              2's complement, little endian
      Version:                           1 (current)
      OS/ABI:                            UNIX - System V
      ABI Version:                       0
      Type:                              EXEC (Executable file)
      Machine:                           ARM
      Version:                           0x1
      Entry point address:               0x82d0
      Start of program headers:          52 (bytes into file)
      Start of section headers:          1720 (bytes into file)
      Flags:                             0x5000002, has entry point, Version5 EABI
      Size of this header:               52 (bytes)
      Size of program headers:           32 (bytes)
      Number of program headers:         8
      Size of section headers:           40 (bytes)
      Number of section headers:         29
      Section header string table index: 26
    What is the problem you're having exactly?
    that doesn't look like it is run only the device's XTerm?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lardman | # 4 | 2010-12-28, 11:36 | Report

    The readelf on device may well be a busybox symlink, you might need to compile the full-fat package that provides it, of if the scratchbox binary is arm and has no deps, just copy it over.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lma | # 5 | 2010-12-29, 08:22 | Report

    Originally Posted by Radicalz38 View Post
    that doesn't look like it is run only the device's XTerm?
    Ah, I see, you want to run it on the device and your problem is that it's not preinstalled. You should just need to install the binutils package.

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout