[*] Binary protection state of jbd2.ko
No RELRO No Canary found NX disabled REL No RPATH No RUNPATH Symbols
[*] Function sprintf tear down of jbd2.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/jbd2/jbd2.ko @ 0x800be24 */
| #include <stdint.h>
|
; (fcn) sym.journal_tag_bytes () | uint32_t journal_tag_bytes (int32_t arg1) {
| r0 = arg1;
0x0800be24 ldr r3, [r0, 0x1c] | r3 = *((r0 + 0x1c));
0x0800be28 cmp r3, 1 |
| if (r3 > 1) {
0x0800be2c ble 0x800be60 |
0x0800be30 ldr r3, [r0, 0x18] | r3 = *((r0 + 0x18));
0x0800be34 ldr r3, [r3, 0x28] | r3 = *((r3 + 0x28));
0x0800be38 tst r3, 0x10000000 |
| if ((r3 & 0x10000000) != 0) {
0x0800be3c beq 0x800be48 |
0x0800be40 mov r0, 0x10 | r0 = 0x10;
0x0800be44 bx lr | return r0;
| }
0x0800be48 tst r3, 0x8000000 |
| if ((r3 & loc.imp.ktime_get_coarse_real_ts64) != 0) {
0x0800be4c moveq r0, 0xc | r0 = 0xc;
| }
| if ((r3 & loc.imp.ktime_get_coarse_real_ts64) == 0) {
0x0800be50 movne r0, 0xe | r0 = 0xe;
| }
0x0800be54 tst r3, 0x2000000 |
| if ((r3 & 0x2000000) != 0) {
0x0800be58 subeq r0, r0, 4 | r0 -= 4;
| }
0x0800be5c bx lr | return r0;
| }
0x0800be60 mov r0, 8 | r0 = 8;
0x0800be64 bx lr | return r0;
| }
[*] Function sprintf used 1 times jbd2.ko