CRASH: Illegal Instruction
Created by: maroueneboubakri
my.bin is an ARM binary of size 5MB After w while all crash with Illegal Instruction. Same behavior is seen with all samples. Either with a client which does nothing. Version: DynamoRIO-ARM-Linux-EABIHF-8.0.18417
# gdb ./bin32/drrun
(gdb) r -c samples/build/bin/libdiv.so -- /my.bin
Starting program: /root/workspace/dynamorio/lib32/release/libdynamorio.so -c samples/build/bin/libdiv.so -- /my.bin
Program received signal SIGILL, Illegal instruction.
0x7f61df8c in syscall_0_or_1arg ()
(gdb) x/10i syscall_0_or_1arg
0x7f61df88 <syscall_0_or_1arg>: svc 0x00000000
=> 0x7f61df8c <syscall_0_or_1arg+4>: pop {r4, r5, r6, r7, r8, r9}
0x7f61df90 <syscall_0_or_1arg+8>: bx lr
0x7f61df94 <dr_fpu_exception_init>: bx lr
0x7f61df98 <is_shebang>: ldrb r3, [r0, #2]
0x7f61df9a <is_shebang+2>: adds r0, #2
0x7f61df9c <is_shebang+4>: cmp r3, #9
0x7f61df9e <is_shebang+6>: it ne
0x7f61dfa0 <is_shebang+8>: cmpne r3, #32
0x7f61dfa2 <is_shebang+10>: bne.n 0x7f61dfb0 <is_shebang+24>
(gdb) quit
Thanks Maro