[*] Binary protection state of libkeyutils.so.1.9
Full RELRO Canary found NX enabled DSO No RPATH No RUNPATH No Symbols
[*] Function printf tear down of libkeyutils.so.1.9
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/lib/libkeyutils.so.1.9 @ 0x15f0 */
| #include <stdint.h>
|
; (fcn) sym.keyctl_reject () | void keyctl_reject (int16_t arg1, int16_t arg2, int16_t arg3, int16_t arg4) {
| int16_t var_0h;
| r0 = arg1;
| r1 = arg2;
| r2 = arg3;
| r3 = arg4;
0x000015f0 ssub8mi fp, pc, r0 | __asm ("ssub8mi fp, pc, r0");
0x000015f4 sub sp, 0xc |
0x000015f6 mov r3, r2 | r3 = r2;
0x000015f8 mov r5, r0 | r5 = r0;
0x000015fa mov r2, r1 | r2 = r1;
0x000015fc mov r6, r1 | r6 = r1;
0x000015fe str r7, [sp] | *(sp) = r7;
0x00001600 mov r1, r0 | r1 = r0;
0x00001602 movs r0, 0x13 | r0 = 0x13;
0x00001604 blx 0x126c | r0 = fcn_0000126c ();
0x00001608 mov r4, r0 | r4 = r0;
0x0000160a adds r0, 1 | r0++;
0x0000160c beq 0x1614 |
| while (r3 != 0x5f) {
0x0000160e mov r0, r4 | r0 = r4;
0x00001610 add sp, 0xc |
0x00001612 pop {r4, r5, r6, r7, pc} |
0x00001614 blx 0x12cc | r0 = isoc99_sscanf ();
0x00001618 ldr r3, [r0] | r3 = *(r0);
0x0000161a cmp r3, 0x5f |
0x0000161c bne 0x160e |
| }
0x0000161e mov r2, r7 | r2 = r7;
0x00001620 mov r1, r6 | r1 = r6;
0x00001622 mov r0, r5 | r0 = r5;
0x00001624 add sp, 0xc |
0x00001626 pop.w {r4, r5, r6, r7, lr} |
0x0000162a b.w 0x12fc | return void (*0x12fc)() ();
| }
[*] Function printf used 1 times libkeyutils.so.1.9