Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynamoRIO
  • dynamorio
  • Issues
  • #4319
Closed
Open
Issue created Jun 10, 2020 by Administrator@rootContributor

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

Assignee
Assign to
Time tracking