cpu: armv7m threads: - regsets: - flavor: gpr registers: [{name: sp, value: 0x2000fe88}, {name: r7, value: 0x2000fe88}, {name: pc, value: 0x00203916}, {name: lr, value: 0x0020392d}] memory-regions: # stack memory fetched via # (lldb) p/x $sp # (lldb) x/128wx $sp # % pbpaste | sed -e 's,.*: ,,' -e 's/ /, /g' -e 's/$/,/' - addr: 0x2000fe70 UInt32: [ 0x0000002a, 0x20010e58, 0x00203923, 0x00000001, 0x2000fe88, 0x00203911, 0x2000ffdc, 0xfffffff9, 0x00000102, 0x00000002, 0x000003f0, 0x0000002a, 0x20012620, 0x00203215, 0x00202a92, 0x81000200, 0x00203215, 0x200128b0, 0x0024928d, 0x2000fecc, 0x002491ed, 0x20010e58, 0x20010e4c, 0x2000ffa0, 0x200107a0, 0x0000003c, 0x200116e8, 0x200108b0, 0x0020b895, 0x00000000, 0x0000e200, 0x2001227d, 0x200121fd, 0x0000e000, 0x00000000, 0x200129a0, 0x002035bf, 0x00000029, 0x000003d8, 0x20011120, 0x200116e0, 0x40003800, 0x20011120, 0x00000000, 0x00205169, 0x00203713, 0x00000000, 0x0022dcb9, 0x40003800, 0x20011240, 0x00000000, 0xf7d71ecf, 0xfc7676d6, 0x00000000, 0x968782d3, 0xe75afbbb, 0x600d77c8, 0xc1c05886, 0x17f3e76d, 0xefc3054d, 0x11940aaa, 0x00000000, 0x93bffabb, 0x6db85af0, 0x00000000, 0x2001d76f, 0xcb35f653, 0x00000000, 0x00000000, 0x079d5058, 0x00000000, 0x00000000, 0xc5622949, 0x68682572, 0x00000075, 0x0000e500, 0x20012c30, 0x00000000, 0xcdfcd8c2, 0x76efc90f, 0x0024495f, 0x20012bf0, 0x0000e400, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0029089c, 0x0029089c, 0x00000000, 0x2000ffe4, 0x00202a87, 0x2000ffec, 0x00200257, 0x2000fff4, 0x00200211, 0x00000000, 0x00000000, 0x7badb3f6, 0x20010794, 0x20010fac, 0x200109b0, 0x002887a4, 0x00285688, 0x002854c8, 0x00288f74, 0x0028a618, 0x0028a6f8, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x002037dd, 0x00000000, 0x00000002, 0x00000100, 0x00000000, 0x20010064, 0x00000000, 0x00000000, 0x00000000, 0x200109c0, 0x00000000, 0x00000000, 0x00000000, 0x00000000 ] # exception_catcher() function bytes # (lldb) dis # binary`exception_catcher: # 0x203910 <+0>: push {r3, r4, r5, r6, r7, lr} # 0x203912 <+2>: add r7, sp, #0x10 # ... # (lldb) x/44bx 0x203910 # % pbpaste | sed -e 's,.*: ,,' -e 's/ /, /g' -e 's/$/,/' - addr: 0x203910 UInt8: [ 0xf8, 0xb5, 0x04, 0xaf, 0x06, 0x4c, 0x07, 0x49, 0x74, 0xf0, 0x2e, 0xf8, 0x01, 0xac, 0x74, 0xf0, 0x61, 0xf8, 0x05, 0x48, 0x76, 0xf0, 0xdf, 0xfe, 0x74, 0xf0, 0x0b, 0xf9, 0xfe, 0xe7, 0x00, 0xbf, 0x4c, 0x0e, 0x01, 0x20, 0x0d, 0x35, 0x20, 0x00, 0x98, 0xae, 0x28, 0x00 ] # exception_thrower # (lldb) disass -b -c 12 -n exception_thrower # 0x202a88 <+0>: 0xb5f0 push {r4, r5, r6, r7, lr} # 0x202a8a <+2>: 0xaf03 add r7, sp, #0xc # 0x202a8c <+4>: 0xe92d0f00 push.w {r8, r9, r10, r11} # 0x202a90 <+8>: 0xb0c3 sub sp, #0x10c # 0x202a92 <+10>: 0xf7ffffd9 bl 0x202a48 - addr: 0x202a88 UInt8: [ 0xf0, 0xb5, 0x03, 0xaf, 0x2d, 0xe9, 0x00, 0x0f, 0xc3, 0xb0, 0xff, 0xf7, 0xd9, 0xff, 0xff, 0xf7 ] # main: # 0x202a7e <+0>: push {r7, lr} # 0x202a80 <+2>: mov r7, sp # 0x202a82 <+4>: bl 0x202a88 ; exception_thrower # 0x202a86 <+8>: nop - addr: 0x202a7e UInt8: [ 0x80, 0xb5, 0x6f, 0x46, 0x00, 0xf0, 0x01, 0xf8, 0x00, 0xbf ]