[*] Binary protection state of fat.ko
No RELRO No Canary found NX disabled REL No RPATH No RUNPATH Symbols
[*] Function popen tear down of fat.ko
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/modules/5.10.52-axis9/kernel/fs/fat/fat.ko @ 0x800abd4 */
| #include <stdint.h>
|
; (fcn) sym.fat_cache_init () | void fat_cache_init (uint32_t arg1) {
| int32_t var_0h;
| int32_t var_ch;
| r0 = arg1;
| /* [05] -r-x section size 176 named .init.text */
0x0800abd4 str lr, [sp, -4]! |
0x0800abd8 mov r3, 0x120000 | r3 = 0x120000;
0x0800abdc mov r1, 0x14 | r1 = 0x14;
0x0800abe0 sub sp, sp, 0xc |
0x0800abe4 stmdaeq r0, {r4, r5, r6} | __asm ("stmdaeq r0, {r4, r5, r6}");
0x0800abe8 stmdaeq r0, {r4, r5, r6} | __asm ("stmdaeq r0, {r4, r5, r6}");
0x0800abec stmdaeq r0, {r2, r4, r6, r7, sl, ip, sp, pc} | __asm ("stmdaeq r0, {r2, r4, r6, r7, sl, ip, sp, pc}");
0x0800abf0 stmdaeq r0, {r2, r4, r6, r7, sl, ip, sp, pc} | __asm ("stmdaeq r0, {r2, r4, r6, r7, sl, ip, sp, pc}");
0x0800abf4 str r2, [sp] | *(sp) = r2;
0x0800abf8 mov r2, 0 | r2 = 0;
0x0800abfc stmdaeq r1, {r0, r1, r4, r6, r8, fp, ip, sp} | __asm ("stmdaeq r1, {r0, r1, r4, r6, r8, fp, ip, sp}");
0x0800ac00 stmdaeq r0, {r2, r3, r7, sl, fp, lr, pc} | __asm ("stmdaeq r0, {r2, r3, r7, sl, fp, lr, pc}");
0x0800ac04 stmdaeq r0, {r2, r3, r7, sl, fp, lr, pc} | __asm ("stmdaeq r0, {r2, r3, r7, sl, fp, lr, pc}");
0x0800ac08 cmp r0, 0 |
0x0800ac0c str r0, [r3] | *(r3) = r0;
| if (r0 != 0) {
0x0800ac10 mvneq r0, 0xb | r0 = ~0xb;
| }
| if (r0 == 0) {
0x0800ac14 movne r0, 0 | r0 = 0;
| }
0x0800ac18 add sp, sp, 0xc |
0x0800ac1c pop {pc} |
| }
[*] Function popen used 1 times fat.ko