[*] Binary protection state of libexpat.so.1.6.8
Partial RELRO No Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function sprintf tear down of libexpat.so.1.6.8
; 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/libexpat.so.1.6.8 @ 0x24f4 */
| #include <stdint.h>
|
; (fcn) entry.fini0 () | void entry_fini0 () {
0x000024f4 ldr r3, [pc, 0x68] | r3 = *(0x2560);
0x000024f8 push {r4, lr} |
0x000024fc ldr r4, [pc, 0x64] | r4 = *(0x2564);
0x00002500 add r3, pc, r3 | r3 = pc + r3;
0x00002504 ldrb r3, [r3] | r3 = *(r3);
0x00002508 add r4, pc, r4 | r4 = pc + r4;
0x0000250c cmp r3, 0 |
0x00002510 popne {r4, pc} |
0x00002514 ldr r3, [pc, 0x50] | r3 = *(0x2568);
0x00002518 ldr r3, [r4, r3] | r3 = *(0x2564);
0x0000251c cmp r3, 0 |
| if (r3 != 0) {
0x00002520 beq 0x2530 |
0x00002524 ldr r3, [pc, 0x44] | r3 = *(0x256c);
0x00002528 ldr r0, [pc, r3] | r0 = *(0x00002530);
0x0000252c bl 0x2374 | cxa_finalize ();
| }
0x00002530 bl 0x2438 | entry0 ();
0x00002534 ldr r3, [pc, 0x38] | r3 = *(0x2570);
0x00002538 ldr r3, [r4, r3] | r3 = *((r4 + r3));
0x0000253c cmp r3, 0 |
| if (r3 != 0) {
0x00002540 beq 0x2550 |
0x00002544 ldr r0, [pc, 0x2c] | r0 = *(0x2574);
0x00002548 add r0, pc, r0 | r0 = pc + r0;
0x0000254c bl 0x22cc | loc_imp_deregister_frame_info ();
| }
0x00002550 ldr r3, [pc, 0x24] | r3 = *(0x2578);
0x00002554 mov r2, 1 | r2 = 1;
0x00002558 add r3, pc, r3 | r3 = pc + r3;
0x0000255c strb r2, [r3] | *(r3) = r2;
0x00002560 pop {r4, pc} |
| }
[*] Function sprintf used 1 times libexpat.so.1.6.8