[*] Binary protection state of libedit.so.0.0.68
Full RELRO Canary found NX enabled DSO No RPATH No RUNPATH No Symbols
[*] Function strcpy tear down of libedit.so.0.0.68
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/libedit.so.0.0.68 @ 0x15b74 */
| #include <stdint.h>
|
; (fcn) sym.rl_display_match_list () | void rl_display_match_list (int16_t arg2, int16_t arg3, char * src) {
| int16_t var_0h;
| r1 = arg2;
| r2 = arg3;
| r0 = src;
0x00015b74 invalid |
0x00015b78 ldr.w lr, [pc, 0x20] |
0x00015b7c sub sp, 8 |
0x00015b7e mov r3, r2 | r3 = r2;
0x00015b80 mov r1, r0 | r1 = r0;
0x00015b82 ldr.w ip, [pc, 0x1c] | ip = *(0x00015ba0);
0x00015b86 mov r2, r4 | r2 = r4;
0x00015b88 add lr, pc | lr = 0x2b728;
0x00015b8a ldr.w r0, [lr, 4] | r0 = *(0x2b72c);
0x00015b8e add ip, pc |
0x00015b90 str.w ip, [sp] | __asm ("str.w ip, [sp]");
0x00015b94 blx 0x52a4 | strcpy (r0, r1)
0x00015b98 add sp, 8 |
0x00015b9a pop {r4, pc} |
| }
[*] Function strcpy used 2 times libedit.so.0.0.68