[*] Binary protection state of libnl-route-3.so.200.26.0
Full RELRO Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function popen tear down of libnl-route-3.so.200.26.0
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libnl-route-3.so.200.26.0 @ 0x598b4 */
| #include <stdint.h>
|
; (fcn) fcn.000598b4 () | void fcn_000598b4 () {
0x000598b4 lw v0, 0x10(sp) | v0 = *(arg_10h);
0x000598b8 lw t0, 0x14(sp) | t0 = *(arg_14h);
0x000598bc lw v1, 0x18(sp) | v1 = *(arg_18h);
| if (a2 != 0) {
0x000598c0 beqz a2, 0x598f8 |
0x000598c4 sltu t1, a3, a2 | t1 = (a3 < a2) ? 1 : 0;
| if (t1 != 0) {
0x000598c8 bnez t1, 0x5992c | goto label_0;
| }
0x000598cc nop |
0x000598d0 lw t2, (v1) | t2 = *(v1);
0x000598d4 lw t1, 4(v1) | t1 = *((v1 + 1));
0x000598d8 or t2, t2, v0 | t2 |= v0;
0x000598dc or t0, t1, t0 | t0 = t1 | t0;
0x000598e0 sh a2, (a0) | *(a0) = a2;
0x000598e4 move v0, zero | v0 = 0;
0x000598e8 sh a3, (a1) | *(a1) = a3;
0x000598ec sw t2, (v1) | *(v1) = t2;
0x000598f0 sw t0, 4(v1) | *((v1 + 1)) = t0;
0x000598f4 jr ra | return v0;
| }
0x000598f8 nor t0, zero, t0 | __asm ("nor t0, zero, t0");
| if (a3 == 0) {
0x000598fc bnez a3, 0x59934 |
0x00059900 lw a3, (v1) | a3 = *(v1);
0x00059904 lw a2, 4(v1) | a2 = *((v1 + 1));
0x00059908 nor v0, zero, v0 | __asm ("nor v0, zero, v0");
0x0005990c and a3, a3, v0 | a3 &= v0;
0x00059910 and t0, a2, t0 | t0 = a2 & t0;
0x00059914 sh zero, (a0) | *(a0) = 0;
0x00059918 move v0, zero | v0 = 0;
0x0005991c sh zero, (a1) | *(a1) = 0;
0x00059920 sw a3, (v1) | *(v1) = a3;
0x00059924 sw t0, 4(v1) | *((v1 + 1)) = t0;
0x00059928 jr ra | return v0;
| label_0:
0x0005992c addiu v0, zero, -7 | v0 = -7;
0x00059930 jr ra | return v0;
| }
0x00059934 addiu v0, zero, -7 | v0 = -7;
0x00059938 jr ra | return v0;
| }
[*] Function popen used 1 times libnl-route-3.so.200.26.0