[*] Binary protection state of libext2fs.so.2.4
Full RELRO Canary found NX enabled DSO No RPATH No RUNPATH No Symbols
[*] Function strcat tear down of libext2fs.so.2.4
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/lib/libext2fs.so.2.4 @ 0x2ed0c */
| #include <stdint.h>
|
; (fcn) fcn.0002ed0c () | void fcn_0002ed0c (int16_t arg1) {
| int16_t var_0h;
| r0 = arg1;
| if (? >= ?) {
0x0002ed0c addlt fp, r3, r0, lsr r5 |
| }
0x0002ed10 mov r5, r0 | r5 = r0;
0x0002ed12 blx 0xb170 | r0 = fcn_0000b170 ();
0x0002ed16 mov r4, r0 | r4 = r0;
0x0002ed18 blx 0xb674 | r0 = strcat (r0, r1)
0x0002ed1c cmp r4, r0 |
| if (r4 == r0) {
0x0002ed1e bne 0x2ed4a |
0x0002ed20 blx 0xbc78 | r0 = fcn_0000bc78 ();
0x0002ed24 mov r4, r0 | r4 = r0;
0x0002ed26 blx 0xb724 | r0 = fcn_0000b724 ();
0x0002ed2a cmp r4, r0 |
| if (r4 != r0) {
0x0002ed2c bne 0x2ed4a | goto label_0;
| }
0x0002ed2e movs r3, 0 | r3 = 0;
0x0002ed30 movs r0, 3 | r0 = 3;
0x0002ed32 mov r2, r3 | r2 = r3;
0x0002ed34 mov r1, r3 | r1 = r3;
0x0002ed36 str r3, [sp] | *(sp) = r3;
0x0002ed38 blx 0xbd90 | r0 = fcn_0000bd90 ();
| if (r0 == 0) {
0x0002ed3c cbz r0, 0x2ed4a | goto label_0;
| }
0x0002ed3e mov r0, r5 | r0 = r5;
0x0002ed40 add sp, 0xc |
0x0002ed42 pop.w {r4, r5, lr} |
0x0002ed46 b.w 0xb090 | void (*0xb090)() ();
| }
| label_0:
0x0002ed4a movs r0, 0 | r0 = 0;
0x0002ed4c add sp, 0xc |
0x0002ed4e pop {r4, r5, pc} |
| }
[*] Function strcat used 2 times libext2fs.so.2.4