[*] Binary protection state of libffi.so.7.1.0
Partial RELRO No Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function sprintf tear down of libffi.so.7.1.0
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/usr/lib/libffi.so.7.1.0 @ 0x1524 */
| #include <stdint.h>
|
; (fcn) entry.fini0 () | void entry_fini0 () {
0x00001524 ldr r3, [pc, 0x68] | r3 = *(0x1590);
0x00001528 push {r4, lr} |
0x0000152c ldr r4, [pc, 0x64] | r4 = *(0x1594);
0x00001530 add r3, pc, r3 | r3 = pc + r3;
0x00001534 ldrb r3, [r3] | r3 = *(r3);
0x00001538 add r4, pc, r4 | r4 = pc + r4;
0x0000153c cmp r3, 0 |
0x00001540 popne {r4, pc} |
0x00001544 ldr r3, [pc, 0x50] | r3 = *(0x1598);
0x00001548 ldr r3, [r4, r3] | r3 = *(0x1594);
0x0000154c cmp r3, 0 |
| if (r3 != 0) {
0x00001550 beq 0x1560 |
0x00001554 ldr r3, [pc, 0x44] | r3 = *(0x159c);
0x00001558 ldr r0, [pc, r3] | r0 = *(0x00001560);
0x0000155c bl 0x1360 | cxa_finalize ();
| }
0x00001560 bl 0x1468 | entry0 ();
0x00001564 ldr r3, [pc, 0x38] | r3 = *(0x15a0);
0x00001568 ldr r3, [r4, r3] | r3 = *((r4 + r3));
0x0000156c cmp r3, 0 |
| if (r3 != 0) {
0x00001570 beq 0x1580 |
0x00001574 ldr r0, [pc, 0x2c] | r0 = *(0x15a4);
0x00001578 add r0, pc, r0 | r0 = pc + r0;
0x0000157c bl 0x1288 | loc_imp_deregister_frame_info ();
| }
0x00001580 ldr r3, [pc, 0x24] | r3 = *(0x15a8);
0x00001584 mov r2, 1 | r2 = 1;
0x00001588 add r3, pc, r3 | r3 = pc + r3;
0x0000158c strb r2, [r3] | *(r3) = r2;
0x00001590 pop {r4, pc} |
| }
[*] Function sprintf used 1 times libffi.so.7.1.0