Reply
Thread Tools
Posts: 75 | Thanked: 17 times | Joined on Aug 2010 @ under the sky
#1
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?
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#2
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?
 
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#3
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?
 
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#4
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.
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#5
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.
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:42.