So Android kernel refused ro run the 'execve'. Must be the layout of 
PT_LOAD,or the
Section table, or the symbol table, or being "-static" (no shared
libraries), or ...


Forgot to include the complete segment layout:
=====
$ readelf --segments valgrind
Elf file type is EXEC (Executable file)
Entry point 0x4003ec
There are 11 program headers, starting at offset 64

Program Headers:
  Type           Offset             VirtAddr           PhysAddr
                 FileSiz            MemSiz              Flags  Align
  PHDR      0x0000000000000040 0x0000000000400040 0x0000000000400040
            0x0000000000000268 0x0000000000000268  R      0x8
  LOAD      0x0000000000000000 0x0000000000400000 0x0000000000400000
            0x0000000000000340 0x0000000000000340  R      0x4000
  LOAD      0x0000000000000340 0x0000000000400340 0x0000000000400340
            0x000000000005086c 0x000000000005086c  R E    0x4000
  LOAD      0x0000000000050bb0 0x0000000000450bb0 0x0000000000450bb0
            0x0000000000018cb4 0x0000000000018cb4  R      0x4000
  LOAD      0x000000000006c000 0x000000000046c000 0x000000000046c000
            0x0000000000000da8 0x0000000000001000  RW     0x4000
  LOAD      0x0000000000070000 0x0000000000470000 0x0000000000470000
            0x0000000000000ba0 0x000000000001dae8  RW     0x4000
  TLS       0x000000000006c000 0x000000000046c000 0x000000000046c000
            0x0000000000000008 0x0000000000000008  R      0x40
  GNU_RELRO 0x000000000006c000 0x000000000046c000 0x000000000046c000
            0x0000000000000da8 0x0000000000001000  R      0x1
  GNU_EH_FRAME 0x0000000000057e90 0x0000000000457e90 0x0000000000457e90
               0x0000000000002d84 0x0000000000002d84  R      0x4
  GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
            0x0000000000000000 0x0000000000000000  RW     0x0
  NOTE      0x00000000000002a8 0x00000000004002a8 0x00000000004002a8
            0x0000000000000098 0x0000000000000098  R      0x4

 Section to Segment mapping:
  Segment Sections...
   00
   01     .note.android.ident
   02     .rela.plt .text
   03     .rodata .eh_frame_hdr .eh_frame
04 .tdata .preinit_array .init_array .fini_array .data.rel.ro .got .relro_padding
   05     .data .bss
   06     .tdata
07 .tdata .preinit_array .init_array .fini_array .data.rel.ro .got .relro_padding
   08     .eh_frame_hdr
   09
   10     .note.android.ident
=====



_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to