Advertisement
Guest User

Untitled

a guest
Mar 31st, 2020
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.48 KB | None | 0 0
  1. Program received signal SIGILL, Illegal instruction.
  2. 0x01cb0204 in os_init() ()
  3. (gdb) disassemble
  4. Dump of assembler code for function _Z7os_initv:
  5. 0x01cb00fc <+0>: push {r4, r5, r6, r7, r8, r9, r11, lr}
  6. 0x01cb0100 <+4>: add r11, sp, #24
  7. 0x01cb0104 <+8>: sub sp, sp, #24
  8. 0x01cb0108 <+12>: ldr r8, [pc, #248] ; 0x1cb0208 <_Z7os_initv+268>
  9. 0x01cb010c <+16>: ldr r8, [pc, r8]
  10. 0x01cb0110 <+20>: ldr r0, [r8]
  11. 0x01cb0114 <+24>: str r0, [sp, #20]
  12. 0x01cb0118 <+28>: mov r0, #25
  13. 0x01cb011c <+32>: bl 0x2b1e674 <__ARMv7ABSLongThunk_getauxval>
  14. 0x01cb0120 <+36>: tst r0, #3
  15. 0x01cb0124 <+40>: bne 0x1cb0204 <_Z7os_initv+264>
  16. 0x01cb0128 <+44>: cmp r0, #0
  17. 0x01cb012c <+48>: beq 0x1cb0204 <_Z7os_initv+264>
  18. 0x01cb0130 <+52>: ldr r0, [r0]
  19. 0x01cb0134 <+56>: bl 0x2b1e680 <__ARMv7ABSLongThunk_srand>
  20. 0x01cb0138 <+60>: mov r1, sp
  21. 0x01cb013c <+64>: mov r0, #7
  22. 0x01cb0140 <+68>: bl 0x2b1e68c <__ARMv7ABSLongThunk_getrlimit>
  23. 0x01cb0144 <+72>: cmp r0, #0
  24. 0x01cb0148 <+76>: bne 0x1cb01e8 <_Z7os_initv+236>
  25. 0x01cb014c <+80>: ldm sp, {r6, r7}
  26. 0x01cb0150 <+84>: ldr r5, [sp, #8]
  27. 0x01cb0154 <+88>: ldr r0, [sp, #12]
  28. 0x01cb0158 <+92>: eor r2, r6, r5
  29. 0x01cb015c <+96>: eor r1, r7, r0
  30. 0x01cb0160 <+100>: orrs r1, r2, r1
  31. 0x01cb0164 <+104>: beq 0x1cb01e8 <_Z7os_initv+236>
  32. --Type <RET> for more, q to quit, c to continue without paging--
  33. 0x01cb0168 <+108>: and r1, r5, r0
  34. 0x01cb016c <+112>: mvn r2, #0
  35. 0x01cb0170 <+116>: subs r4, r1, r2
  36. 0x01cb0174 <+120>: mov r9, sp
  37. 0x01cb0178 <+124>: movne r4, r0
  38. 0x01cb017c <+128>: cmn r1, #1
  39. 0x01cb0180 <+132>: movne r6, r5
  40. 0x01cb0184 <+136>: movne r7, r0
  41. 0x01cb0188 <+140>: moveq r5, #1048576 ; 0x100000
  42. 0x01cb018c <+144>: subs r0, r5, r6
  43. 0x01cb0190 <+148>: sbc r1, r4, r7
  44. 0x01cb0194 <+152>: lsrs r1, r1, #1
  45. 0x01cb0198 <+156>: rrx r0, r0
  46. 0x01cb019c <+160>: adds r0, r0, r6
  47. 0x01cb01a0 <+164>: str r0, [sp]
  48. 0x01cb01a4 <+168>: adc r0, r1, r7
  49. 0x01cb01a8 <+172>: str r0, [sp, #4]
  50. 0x01cb01ac <+176>: mov r0, #7
  51. 0x01cb01b0 <+180>: mov r1, r9
  52. 0x01cb01b4 <+184>: bl 0x2b1e698 <__ARMv7ABSLongThunk_setrlimit>
  53. 0x01cb01b8 <+188>: ldm sp, {r1, r2}
  54. 0x01cb01bc <+192>: cmp r0, #0
  55. 0x01cb01c0 <+196>: movne r4, r2
  56. 0x01cb01c4 <+200>: moveq r7, r2
  57. 0x01cb01c8 <+204>: moveq r6, r1
  58. 0x01cb01cc <+208>: adds r2, r6, #1
  59. 0x01cb01d0 <+212>: adc r3, r7, #0
  60. 0x01cb01d4 <+216>: cmp r0, #0
  61. --Type <RET> for more, q to quit, c to continue without paging--
  62. 0x01cb01d8 <+220>: movne r5, r1
  63. 0x01cb01dc <+224>: subs r0, r2, r5
  64. 0x01cb01e0 <+228>: sbcs r0, r3, r4
  65. 0x01cb01e4 <+232>: bcc 0x1cb018c <_Z7os_initv+144>
  66. 0x01cb01e8 <+236>: ldr r0, [r8]
  67. 0x01cb01ec <+240>: ldr r1, [sp, #20]
  68. 0x01cb01f0 <+244>: subs r0, r0, r1
  69. 0x01cb01f4 <+248>: moveq r0, #0
  70. 0x01cb01f8 <+252>: subeq sp, r11, #24
  71. 0x01cb01fc <+256>: popeq {r4, r5, r6, r7, r8, r9, r11, pc}
  72. 0x01cb0200 <+260>: bl 0x2b1d90c <__ARMv7ABSLongThunk___stack_chk_fail>
  73. => 0x01cb0204 <+264>: udf #65006 ; 0xfdee
  74. 0x01cb0208 <+268>: ldreq r4, [r9], -r12, ror #1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement