Home
last modified time | relevance | path

Searched refs:exeline (Results 1 – 2 of 2) sorted by relevance

/system/core/libcutils/
Ddebugger.c31 char* exeline; in is32bit() local
32 if (asprintf(&exeline, "/proc/%d/exe", tid) == -1) { in is32bit()
35 int fd = open(exeline, O_RDONLY | O_CLOEXEC); in is32bit()
36 free(exeline); in is32bit()
/system/core/toolbox/
Dps.c192 char exeline[1024]; in print_exe_abi() local
194 sprintf(exeline, "/proc/%d/exe", pid); in print_exe_abi()
195 fd = open(exeline, O_RDONLY); in print_exe_abi()
200 r = read(fd, exeline, 5 /* 4 byte ELFMAG + 1 byte EI_CLASS */); in print_exe_abi()
206 if (memcmp("\177ELF", exeline, 4) != 0) { in print_exe_abi()
210 switch (exeline[4]) { in print_exe_abi()