[*] Binary protection state of libafstomp.so
Full RELRO Canary found NX enabled DSO No RPATH No RUNPATH No Symbols
[*] Function popen tear down of libafstomp.so
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/lib/syslog-ng/libafstomp.so @ 0x4 */
| #include <stdint.h>
|
; (fcn) fcn.00000004 () | void fcn_00000004 (int32_t arg2) {
| r1 = arg2;
| if (? != ?) {
0x00000004 andeq sb, r1, r4, asr 27 | sb = r1 & (r4 >> 27);
| }
0x00000008 ldrbtvc r0, [r3], -0x74 | __asm ("ldrbtvc r0, [r3], -0x74");
| if (? != ?) {
0x0000000c andeq r0, r0, r0 | r0 &= r0;
| }
0x00000010 ldrbtvc r0, [r3], -0x74 | __asm ("ldrbtvc r0, [r3], -0x74");
| if (? != ?) {
0x00000014 andeq r0, r0, r1 | r0 &= r1;
| }
| if (? != ?) {
0x00000018 andeq r2, r0, r0, asr 14 | r2 = r0 & (r0 >> 14);
| }
| if (? != ?) {
0x0000001c andeq r0, r0, r4, lsr r0 | r0 &= (r4 >> r0);
| }
| if (? != ?) {
0x00000020 andeq sb, r0, r8, lsl 4 | sb = r0 & (r8 << 4);
| }
| if (? != ?) {
0x00000024 streq r0, [r0, -0x400] | *((r0 - 0x400)) = r0;
| }
| if (? != ?) {
0x00000028 eoreq r0, r0, r4, lsr r0 | r0 ^= (r4 >> r0);
| }
| if (? != ?) {
0x0000002c eoreq r0, r8, r6 | r0 = r8 ^ r6;
| }
0x00000030 andseq r0, r8, sb, lsl r0 | __asm ("andseq r0, r8, sb, lsl r0");
| if (? != ?) {
0x00000034 andeq r0, r0, r1 | r0 &= r1;
| }
| if (? != ?) {
0x00000038 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x0000003c andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x00000040 andeq r0, r0, r0 | r0 &= r0;
| }
0x00000044 strdeq r8, sb, [r0], -r0 | __asm ("strdeq r8, sb, [r0], -r0");
0x00000048 strdeq r8, sb, [r0], -r0 | __asm ("strdeq r8, sb, [r0], -r0");
| if (? != ?) {
0x0000004c andeq r0, r0, r5 | r0 &= r5;
| }
| if (? != ?) {
0x00000050 andeq r0, r1, r0 | r0 = r1 & r0;
| }
| if (? != ?) {
0x00000054 andeq r0, r0, r1 | r0 &= r1;
| }
| if (? != ?) {
0x00000058 andeq r8, r0, r0, ror 18 | r8 = r0 & (r0 >>> 18);
| }
| if (? != ?) {
0x0000005c andeq r8, r1, r0, ror 18 | r8 = r1 & (r0 >>> 18);
| }
| if (? != ?) {
0x00000060 andeq r8, r1, r0, ror 18 | r8 = r1 & (r0 >>> 18);
| }
| if (? != ?) {
0x00000064 andeq r0, r0, r4, ror r7 | r0 &= (r4 >>> r7);
| }
| if (? != ?) {
0x00000068 andeq r0, r0, r8, ror pc | r0 &= (r8 >>> pc);
| }
| if (? != ?) {
0x0000006c andeq r0, r0, r6 | r0 &= r6;
| }
| if (? != ?) {
0x00000070 andeq r0, r1, r0 | r0 = r1 & r0;
| }
0x00000074 invalid |
0x00000078 invalid |
| if (? != ?) {
0x0000007c andeq r8, r1, r0, lsr 25 | r8 = r1 & (r0 >> 25);
| }
| if (? != ?) {
0x00000080 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x00000084 andeq r0, r0, r8, asr r1 | r0 &= (r8 >> r1);
| }
| if (? != ?) {
0x00000088 andeq r0, r0, r8, asr r1 | r0 &= (r8 >> r1);
| }
| if (? != ?) {
0x0000008c andeq r0, r0, r6 | r0 &= r6;
| }
| if (? != ?) {
0x00000090 andeq r0, r0, r4 | r0 &= r4;
| }
| if (? != ?) {
0x00000094 andeq r0, r0, r4 | r0 &= r4;
| }
0x00000098 strdeq r0, r1, [r0], -r4 | __asm ("strdeq r0, r1, [r0], -r4");
0x0000009c strdeq r0, r1, [r0], -r4 | __asm ("strdeq r0, r1, [r0], -r4");
0x000000a0 strdeq r0, r1, [r0], -r4 | __asm ("strdeq r0, r1, [r0], -r4");
| if (? != ?) {
0x000000a4 andeq r0, r0, r4, lsr 32 | r0 &= (r4 >> 32);
| }
| if (? != ?) {
0x000000a8 andeq r0, r0, r4, lsr 32 | r0 &= (r4 >> 32);
| }
| if (? != ?) {
0x000000ac andeq r0, r0, r4 | r0 &= r4;
| }
| if (? != ?) {
0x000000b0 andeq r0, r0, r4 | r0 &= r4;
| }
0x000000b4 ldrbtvs lr, [r4], -0x551 | __asm ("ldrbtvs lr, [r4], -0x551");
| if (? != ?) {
0x000000b8 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x000000bc andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x000000c0 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x000000c4 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x000000c8 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x000000cc andeq r0, r0, r6 | r0 &= r6;
| }
| if (? != ?) {
0x000000d0 andeq r0, r0, r0, lsl r0 | r0 &= (r0 << r0);
| }
0x000000d4 ldrbtvs lr, [r4], -0x552 | __asm ("ldrbtvs lr, [r4], -0x552");
| if (? != ?) {
0x000000d8 andeq r8, r0, r0, ror 18 | r8 = r0 & (r0 >>> 18);
| }
| if (? != ?) {
0x000000dc andeq r8, r1, r0, ror 18 | r8 = r1 & (r0 >>> 18);
| }
| if (? != ?) {
0x000000e0 andeq r8, r1, r0, ror 18 | r8 = r1 & (r0 >>> 18);
| }
| if (? != ?) {
0x000000e4 andeq r0, r0, r0, lsr 13 | r0 &= (r0 >> 13);
| }
| if (? != ?) {
0x000000e8 andeq r0, r0, r0, lsr 13 | r0 &= (r0 >> 13);
| }
| if (? != ?) {
0x000000ec andeq r0, r0, r4 | r0 &= r4;
| }
| if (? != ?) {
0x000000f0 andeq r0, r0, r1 | r0 &= r1;
| }
| if (? != ?) {
| /* [01] -r-- section size 36 named .note.gnu.build-id */
0x000000f4 andeq r0, r0, r4 | r0 &= r4;
| }
| if (? != ?) {
0x000000f8 andeq r0, r0, r4, lsl r0 | r0 &= (r4 << r0);
| }
| if (? != ?) {
0x000000fc andeq r0, r0, r3 | r0 &= r3;
| }
0x00000100 subseq r4, r5, r7, asr 28 | __asm ("subseq r4, r5, r7, asr 28");
0x00000104 bicsle ip, sp, 0xa50 | __asm ("bicsle ip, sp, 0xa50");
| if (? >= ?) {
0x00000108 strlt r6, [r3], -0x720 | *(r3) = r6;
| r3 += -0x720;
| }
0x0000010c tstne r8, r8, asr 11 | __asm ("tstne r8, r8, asr 11");
0x00000110 andsls r4, r2, sl, asr 27 | __asm ("andsls r4, r2, sl, asr 27");
0x00000114 svchi 0x55638c | __asm ("svchi 0x55638c");
| if (? != ?) {
| /* [02] -r-- section size 352 named .gnu.hash */
0x00000118 andeq r0, r0, r0, lsr r0 | r0 &= (r0 >> r0);
| }
| if (? != ?) {
0x0000011c andeq r0, r0, r8, rrx | r0 &= (r8 >>> r0);
| }
| if (? != ?) {
0x00000120 andeq r0, r0, r8 | r0 &= r8;
| }
| if (? != ?) {
0x00000124 andeq r0, r0, r8 | r0 &= r8;
| }
| if (? <= ?) {
0x00000128 andgt r2, r0, r5, lsl sb | r2 = r0 & (r5 << sb);
| }
0x0000012c smulbbhi fp, r0, r8 | __asm ("smulbbhi fp, r0, r8");
| if (? != ?) {
0x00000130 andeq r4, r4, r0, lsl 17 | r4 &= (r0 << 17);
| }
0x00000134 ldchi p0, c8, [r0], {0x42} | __asm ("ldchi p0, c8, [r0], {0x42}");
| if (? >= ?) {
0x00000138 bmi 0x2140 |
| if (? == ?) {
0x0000013c strne sb, [r1], 0xcf | *(r1) = sb;
| r1 += 0xcf;
| }
| if (? != ?) {
0x00000140 andeq r0, r4, 0 | r0 = 0;
| }
| if (? >= ?) {
0x00000144 eormi r0, r0, r0, asr r0 | r0 ^= (r0 >> r0);
| }
| if (? != ?) {
0x00000148 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x0000014c andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x00000150 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x00000154 andeq r0, r0, r8, rrx | r0 &= (r8 >>> r0);
| }
| if (? != ?) {
0x00000158 andeq r0, r0, sb, rrx | r0 &= (sb >>> r0);
| }
| if (? != ?) {
0x0000015c andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x00000160 andeq r0, r0, sl, rrx | r0 &= (sl >>> r0);
| }
| if (? != ?) {
0x00000164 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x00000168 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x0000016c andeq r0, r0, fp, rrx | r0 &= (fp >>> r0);
| }
| if (? != ?) {
0x00000170 andeq r0, r0, ip, rrx | r0 &= (ip >>> r0);
| }
| if (? != ?) {
0x00000174 andeq r0, r0, sp, rrx | r0 &= (sp >>> r0);
| }
| if (? != ?) {
0x00000178 andeq r0, r0, lr, rrx | r0 &= (lr >>> r0);
| }
| if (? != ?) {
0x0000017c andeq r0, r0, r0 | r0 &= r0;
| }
| if (? <= ?) {
0x00000180 andhi r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x00000184 andeq r0, r0, r1 | r0 &= r1;
| }
| if (? != ?) {
0x00000188 andeq r0, r0, r0, ror r0 | r0 &= (r0 >>> r0);
| }
| if (? != ?) {
0x0000018c andeq r0, r0, r1, ror r0 | r0 &= (r1 >>> r0);
| }
| if (? != ?) {
0x00000190 andeq r0, r0, r2, ror r0 | r0 &= (r2 >>> r0);
| }
| if (? != ?) {
0x00000194 andeq r0, r0, r4, ror r0 | r0 &= (r4 >>> r0);
| }
| if (? != ?) {
0x00000198 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x0000019c andeq r0, r0, r5, ror r0 | r0 &= (r5 >>> r0);
| }
| if (? != ?) {
0x000001a0 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x000001a4 andeq r0, r0, r6, ror r0 | r0 &= (r6 >>> r0);
| }
| if (? != ?) {
0x000001a8 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x000001ac andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x000001b0 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x000001b4 andeq r0, r0, r7, ror r0 | r0 &= (r7 >>> r0);
| }
| if (? != ?) {
0x000001b8 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x000001bc andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x000001c0 andeq r0, r0, r8, ror r0 | r0 &= (r8 >>> r0);
| }
| if (? != ?) {
0x000001c4 andeq r0, r0, sl, ror r0 | r0 &= (sl >>> r0);
| }
| if (? != ?) {
0x000001c8 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x000001cc andeq r0, r0, fp, ror r0 | r0 &= (fp >>> r0);
| }
| if (? != ?) {
0x000001d0 andeq r0, r0, sp, ror r0 | r0 &= (sp >>> r0);
| }
| if (? != ?) {
0x000001d4 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x000001d8 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x000001dc andeq r0, r0, lr, ror r0 | r0 &= (lr >>> r0);
| }
| if (? != ?) {
0x000001e0 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x000001e4 andeq r0, r0, pc, ror r0 | r0 &= (pc >>> r0);
| }
| if (? != ?) {
0x000001e8 andeq r0, r0, r0, lsl 1 | r0 &= (r0 << 1);
| }
| if (? != ?) {
0x000001ec andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x000001f0 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x000001f4 andeq r0, r0, r2 | r0 &= r2;
| }
| if (? != ?) {
0x000001f8 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x000001fc andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x00000200 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x00000204 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x00000208 andeq r0, r0, r0 | r0 &= r0;
| }
| if (? != ?) {
0x0000020c andeq r0, r0, r0 | r0 &= r0;
| }
0x00000210 blpl 0x11e1ef4 | __asm ("blpl 0x11e1ef4");
0x00000214 blvs 0xfe5df080 | __asm ("blvs 0xfe5df080");
0x00000218 sub sl, r1, fp, ror r6 | sl = r1 - (fp >>> r6);
0x0000021c cdple p15, 8, c14, c6, c11, 1 | __asm ("cdple p15, 8, c14, c6, c11, 1");
0x00000220 invalid |
| }
| if (? != ?) {
0x00002140 andeq r5, r0, r6, lsl r5 | r5 = r0 & (r6 << r5);
| }
| if (? != ?) {
0x00002144 andeq r8, r1, r8, ror pc | r8 = r1 & (r8 >>> pc);
| }
| if (? != ?) {
0x00002148 andeq r6, r0, r6, lsl r8 | r6 = r0 & (r6 << r8);
| }
| if (? != ?) {
0x0000214c andeq r8, r1, ip, ror pc | r8 = r1 & (ip >>> pc);
| }
| if (? != ?) {
0x00002150 andeq r5, r0, r6, lsl r6 | r5 = r0 & (r6 << r6);
| }
| if (? != ?) {
0x00002154 andeq r8, r1, r0, lsl 31 | r8 = r1 & (r0 << 31);
| }
| if (? != ?) {
0x00002158 andeq r7, r0, r6, lsl r3 | r7 = r0 & (r6 << r3);
| }
| if (? != ?) {
0x0000215c andeq r8, r1, r4, lsl 31 | r8 = r1 & (r4 << 31);
| }
| if (? != ?) {
0x00002160 andeq r5, r0, r6, lsl r7 | r5 = r0 & (r6 << r7);
| }
| if (? != ?) {
0x00002164 andeq r8, r1, r8, lsl 31 | r8 = r1 & (r8 << 31);
| }
| if (? != ?) {
0x00002168 andeq r5, r0, r6, lsl r8 | r5 = r0 & (r6 << r8);
| }
| if (? != ?) {
0x0000216c andeq r8, r1, ip, lsl 31 | r8 = r1 & (ip << 31);
| }
| if (? != ?) {
0x00002170 andeq r5, r0, r6, lsl sb | r5 = r0 & (r6 << sb);
| }
| if (? != ?) {
0x00002174 muleq r1, r0, pc | r1 = r0 * pc;
| }
| if (? != ?) {
0x00002178 andeq r5, r0, r6, lsl sl | r5 = r0 & (r6 << sl);
| }
| if (? != ?) {
0x0000217c muleq r1, r4, pc | r1 = r4 * pc;
| }
| if (? != ?) {
0x00002180 andeq r5, r0, r6, lsl fp | r5 = r0 & (r6 << fp);
| }
| if (? != ?) {
0x00002184 muleq r1, r8, pc | r1 = r8 * pc;
| }
| if (? != ?) {
0x00002188 andeq r5, r0, r6, lsl ip | r5 = r0 & (r6 << ip);
| }
| if (? != ?) {
0x0000218c muleq r1, ip, pc | r1 = ip * pc;
| }
| if (? != ?) {
0x00002190 andeq r5, r0, r6, lsl sp | r5 = r0 & (r6 << sp);
| }
| if (? != ?) {
0x00002194 andeq r8, r1, r0, lsr 31 | r8 = r1 & (r0 >> 31);
| }
| if (? != ?) {
0x00002198 andeq r5, r0, r6, lsl lr | r5 = r0 & (r6 << lr);
| }
| if (? != ?) {
0x0000219c andeq r8, r1, r4, lsr 31 | r8 = r1 & (r4 >> 31);
| }
| if (? != ?) {
0x000021a0 andeq r6, r0, r6, lsl r0 | r6 = r0 & (r6 << r0);
| }
| if (? != ?) {
0x000021a4 andeq r8, r1, r8, lsr 31 | r8 = r1 & (r8 >> 31);
| }
| if (? != ?) {
0x000021a8 andeq r6, r0, r6, lsl r1 | r6 = r0 & (r6 << r1);
| }
| if (? != ?) {
0x000021ac andeq r8, r1, ip, lsr 31 | r8 = r1 & (ip >> 31);
| }
| if (? != ?) {
0x000021b0 andeq r6, r0, r6, lsl r2 | r6 = r0 & (r6 << r2);
| }
0x000021b4 strheq r8, [r1], -r0 | __asm ("strheq r8, [r1], -r0");
| if (? != ?) {
0x000021b8 andeq r6, r0, r6, lsl r3 | r6 = r0 & (r6 << r3);
| }
0x000021bc strheq r8, [r1], -r4 | __asm ("strheq r8, [r1], -r4");
| if (? != ?) {
0x000021c0 andeq r6, r0, r6, lsl r5 | r6 = r0 & (r6 << r5);
| }
0x000021c4 strheq r8, [r1], -r8 | __asm ("strheq r8, [r1], -r8");
| if (? != ?) {
0x000021c8 andeq r6, r0, r6, lsl r6 | r6 = r0 & (r6 << r6);
| }
0x000021cc strheq r8, [r1], -ip | __asm ("strheq r8, [r1], -ip");
| if (? != ?) {
0x000021d0 andeq r6, r0, r6, lsl r7 | r6 = r0 & (r6 << r7);
| }
| /* [09] -r-x section size 12 named .init */
0x000021d4 push {r3, lr} |
0x000021d8 bl 0x2740 | entry0 ();
0x000021dc pop {r3, pc} |
| }
[*] Function popen used 1 times libafstomp.so