[*] Binary protection state of libip6t_rt.so
Partial RELRO No Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function printf tear down of libip6t_rt.so
; 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/xtables/libip6t_rt.so @ 0xc44 */
| #include <stdint.h>
|
; (fcn) fcn.00000c44 () | void fcn_00000c44 (int32_t arg1, int32_t arg2) {
| r0 = arg1;
| r1 = arg2;
0x00000c44 push {r4, r5, r6, r7, r8, sb, sl, lr} |
0x00000c48 ldr r5, [pc, 0x58] |
0x00000c4c ldr r8, [pc, 0x58] | r8 = *(0xca8);
0x00000c50 add r5, pc, r5 | r5 = pc + r5;
0x00000c54 mov r6, r0 | r6 = r0;
0x00000c58 mov r7, r1 | r7 = r1;
0x00000c5c mov r4, 0 | r4 = 0;
0x00000c60 add r5, r5, 0x10 | r5 = 0xcb4;
0x00000c64 add r8, pc, r8 | r8 = pc + r8;
| do {
0x00000c68 cmp r4, r6 |
0x00000c6c popeq {r4, r5, r6, r7, r8, sb, sl, pc} |
0x00000c70 cmp r4, 0 |
0x00000c74 add r1, r7, r4, lsl 4 | r1 = r7 + (r4 << 4);
0x00000c78 mov r3, 0x33 | r3 = 0x33;
0x00000c7c mov r2, r5 | r2 = r5;
0x00000c80 mov r0, 0xa | r0 = 0xa;
| if (r4 != 0) {
0x00000c84 moveq sb, 0x20 | sb = 0x20;
| }
| if (r4 == 0) {
0x00000c88 movne sb, 0x2c | sb = 0x2c;
| }
0x00000c8c bl 0x608 | inet_ntop ();
0x00000c90 mov r1, sb | r1 = sb;
0x00000c94 add r4, r4, 1 | r4++;
0x00000c98 mov r2, r0 | r2 = r0;
0x00000c9c mov r0, r8 | r0 = r8;
0x00000ca0 bl 0x5a8 | printf (r0, r1, r2, r3, r4)
0x00000ca4 b 0xc68 |
| } while (1);
| }
[*] Function printf used 2 times libip6t_rt.so