[*] Binary protection state of libcharset.so.1.0.0
Partial RELRO No Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function sprintf tear down of libcharset.so.1.0.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/libcharset.so.1.0.0 @ 0x7bc */
| #include <stdint.h>
|
; (fcn) entry.fini0 () | void entry_fini0 () {
0x000007bc ldr r3, [pc, 0x68] | r3 = *(0x828);
0x000007c0 push {r4, lr} |
0x000007c4 ldr r4, [pc, 0x64] | r4 = *(0x82c);
0x000007c8 add r3, pc, r3 | r3 = pc + r3;
0x000007cc ldrb r3, [r3] | r3 = *(r3);
0x000007d0 add r4, pc, r4 | r4 = pc + r4;
0x000007d4 cmp r3, 0 |
0x000007d8 popne {r4, pc} |
0x000007dc ldr r3, [pc, 0x50] | r3 = *(0x830);
0x000007e0 ldr r3, [r4, r3] | r3 = *(0x82c);
0x000007e4 cmp r3, 0 |
| if (r3 != 0) {
0x000007e8 beq 0x7f8 |
0x000007ec ldr r3, [pc, 0x44] | r3 = *(0x834);
0x000007f0 ldr r0, [pc, r3] | r0 = *(0x000007f8);
0x000007f4 bl 0x640 | cxa_finalize ();
| }
0x000007f8 bl 0x700 | entry0 ();
0x000007fc ldr r3, [pc, 0x38] | r3 = *(0x838);
0x00000800 ldr r3, [r4, r3] | r3 = *((r4 + r3));
0x00000804 cmp r3, 0 |
| if (r3 != 0) {
0x00000808 beq 0x818 |
0x0000080c ldr r0, [pc, 0x2c] | r0 = *(0x83c);
0x00000810 add r0, pc, r0 | r0 = pc + r0;
0x00000814 bl 0x664 | loc_imp_deregister_frame_info ();
| }
0x00000818 ldr r3, [pc, 0x24] | r3 = *(0x840);
0x0000081c mov r2, 1 | r2 = 1;
0x00000820 add r3, pc, r3 | r3 = pc + r3;
0x00000824 strb r2, [r3] | *(r3) = r2;
0x00000828 pop {r4, pc} |
| }
[*] Function sprintf used 1 times libcharset.so.1.0.0