[*] Binary protection state of fat.ko
No RELRO No Canary found NX disabled REL No RPATH No RUNPATH Symbols
[*] Function fprintf tear down of fat.ko
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/lib/modules/5.10.52-axis8/kernel/fs/fat/fat.ko @ 0x800a9ec */
| #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 */
0x0800a9ec str lr, [sp, -4]! |
0x0800a9f0 mov r3, 0x120000 | r3 = 0x120000;
0x0800a9f4 mov r1, 0x14 | r1 = 0x14;
0x0800a9f8 sub sp, sp, 0xc |
0x0800a9fc stmdaeq r0, {r4, r5, r6} | __asm ("stmdaeq r0, {r4, r5, r6}");
0x0800aa00 stmdaeq r0, {r4, r5, r6} | __asm ("stmdaeq r0, {r4, r5, r6}");
0x0800aa04 stmdaeq r0, {r2, r4, r6, r7, sb, ip, sp, pc} | __asm ("stmdaeq r0, {r2, r4, r6, r7, sb, ip, sp, pc}");
0x0800aa08 stmdaeq r0, {r2, r4, r6, r7, sb, ip, sp, pc} | __asm ("stmdaeq r0, {r2, r4, r6, r7, sb, ip, sp, pc}");
0x0800aa0c str r2, [sp] | *(sp) = r2;
0x0800aa10 mov r2, 0 | r2 = 0;
0x0800aa14 stmdaeq r1, {r2, r3, r6, r7, sb, sl, ip, sp} | __asm ("stmdaeq r1, {r2, r3, r6, r7, sb, sl, ip, sp}");
0x0800aa18 stmdaeq r0, {r2, r4, r7, sb, fp, lr, pc} | __asm ("stmdaeq r0, {r2, r4, r7, sb, fp, lr, pc}");
0x0800aa1c stmdaeq r0, {r2, r4, r7, sb, fp, lr, pc} | __asm ("stmdaeq r0, {r2, r4, r7, sb, fp, lr, pc}");
0x0800aa20 cmp r0, 0 |
0x0800aa24 str r0, [r3] | *(r3) = r0;
| if (r0 != 0) {
0x0800aa28 mvneq r0, 0xb | r0 = ~0xb;
| }
| if (r0 == 0) {
0x0800aa2c movne r0, 0 | r0 = 0;
| }
0x0800aa30 add sp, sp, 0xc |
0x0800aa34 pop {pc} |
| }
[*] Function fprintf used 1 times fat.ko