mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-27 08:12:44 +00:00
62c2128b6f
* Better use of the R_SOCKET_PROTO_DEFAULT and add _NONE ##http * Fix regressions in: r2 -C and =+ ##r2pipe Introduced in 04edfa82c1f3fa2bc3621ccdad2f93bdbf00e4f9 * Implement sleep command ##shell * Add tests for the webserver and remoting * Implement daemon directive in rarun2, fix http test ##rarun2 * Fix socket timeout on Windows (patch by @GustavoLCR) ##socket * Missing http.root is not a reason to not start the webserver ##http * Fix r2 -C, =!=0, replace curl with r2 in the webserver test ##http * Honor anal.in/from/to in aae, optimize db/formats/mach0/thumb ##anal * Bug fixes and performance improvements Co-authored-by: pancake <pancake@nopcode.org>
51 lines
1.8 KiB
Plaintext
51 lines
1.8 KiB
Plaintext
NAME=aav find xrefs
|
|
FILE=bins/mach0/macho-bash
|
|
CMDS=<<EOF
|
|
e anal.loads=true
|
|
e anal.in=range
|
|
e anal.from=0x8000
|
|
e anal.to=0x8000+4K
|
|
aac
|
|
afna
|
|
aar
|
|
aan
|
|
aav
|
|
# aa;afna;aac;aar;aan;aav
|
|
pd 17 @0x8058
|
|
EOF
|
|
EXPECT=<<EOF
|
|
| `=< 0x00008058 03e4 b 0x7862
|
|
0x0000805a 0000 movs r0, r0
|
|
; DATA XREF from sub.free_73a0 @ 0x7d30
|
|
0x0000805c .dword 0x000693da
|
|
; DATA XREF from sub.free_73a0 @ 0x7d3e
|
|
0x00008060 .dword 0x0006c1f4
|
|
; DATA XREF from sub.free_73a0 @ 0x7d48
|
|
0x00008064 .dword 0x0006c1a6
|
|
; DATA XREF from sub.free_73a0 @ 0x7e30
|
|
0x00008068 .dword 0x0006c102
|
|
; DATA XREF from sub.free_73a0 @ 0x7e3a
|
|
0x0000806c .dword 0x0006c0b4
|
|
; DATA XREF from sub.free_73a0 @ 0x7e58
|
|
0x00008070 .dword 0x0006c0da
|
|
; DATA XREF from sub.free_73a0 @ 0x7e62
|
|
0x00008074 .dword 0x0006c08c
|
|
; DATA XREF from sub.strcpy_7890 @ 0x7e80
|
|
0x00008078 .dword 0x0006c0b2
|
|
; DATA XREF from sub.strcpy_7890 @ 0x7e8a
|
|
0x0000807c .dword 0x0006c064
|
|
; DATA XREF from sub.strcpy_7890 @ 0x7ed8
|
|
0x00008080 .dword 0x00069232
|
|
; DATA XREF from sub.strcpy_7890 @ 0x7ee8
|
|
0x00008084 .dword 0x0006c04a
|
|
; DATA XREF from sub.strcpy_7890 @ 0x7ef2
|
|
0x00008088 .dword 0x0006bffc
|
|
; DATA XREF from sub.free_73a0 @ 0x7f64
|
|
0x0000808c .dword 0x0006bfce
|
|
; DATA XREF from sub.free_73a0 @ 0x7f72
|
|
0x00008090 .dword 0x0006bf7c
|
|
; DATA XREF from sub.free_73a0 @ 0x7fcc
|
|
0x00008094 .dword 0x0006bf66
|
|
EOF
|
|
RUN
|