[*] Binary protection state of libixml.so.2.0.8
No RELRO No Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function system tear down of libixml.so.2.0.8
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/lib/libixml.so.2.0.8 @ 0x1938 */
| #include <stdint.h>
|
; (fcn) fcn.00001938 () | void fcn_00001938 () {
0x00001938 lui gp, 2 |
0x0000193c addiu gp, gp, -0x3f8 |
0x00001940 addu gp, gp, t9 | gp += t9;
0x00001944 addiu sp, sp, -0x30 |
0x00001948 sw ra, 0x2c(sp) | *(var_2ch) = ra;
0x0000194c sw s3, 0x28(sp) | *(var_28h) = s3;
0x00001950 sw s2, 0x24(sp) | *(var_24h) = s2;
0x00001954 sw s1, 0x20(sp) | *(var_20h) = s1;
0x00001958 sw s0, 0x1c(sp) | *(var_1ch) = s0;
0x0000195c lw t8, -0x7fe4(gp) | t8 = *((gp - 8185));
0x00001960 sw gp, 0x10(sp) | *(var_10h) = gp;
0x00001964 lbu v0, -0x6930(t8) | v0 = *((t8 - 26928));
0x00001968 move s1, t8 | s1 = t8;
| if (v0 != 0) {
0x0000196c bnez v0, 0x19f4 | goto label_0;
| }
0x00001970 lw t8, -0x7eb0(gp) | t8 = *((gp - 8108));
0x00001974 lw t8, -0x7fe0(gp) | t8 = *((gp - 8184));
| if (t8 != 0) {
0x00001978 beqz t8, 0x198c |
0x0000197c lw t9, -0x7eb0(gp) | t9 = *((gp - 8108));
0x00001980 lw a0, (t8) | a0 = *(t8);
0x00001984 jalr t9 | t9 ();
0x00001988 lw gp, 0x10(sp) | gp = *(var_10h);
| }
0x0000198c lw v0, -0x7fe4(gp) | v0 = *((gp - 8185));
0x00001990 lw s2, -0x7fdc(gp) | s2 = *((gp - 8183));
0x00001994 addiu v0, v0, -0x6ff8 | v0 += -0x6ff8;
0x00001998 subu s2, s2, v0 | __asm ("subu s2, s2, v0");
0x0000199c move s3, v0 | s3 = v0;
0x000019a0 sra s2, s2, 2 | s2 >>= 2;
0x000019a4 lw s0, -0x7fe4(gp) | s0 = *((gp - 8185));
0x000019a8 addiu s2, s2, -1 | s2 += -1;
| do {
0x000019ac lw v0, -0x692c(s0) | v0 = *((s0 - 6731));
0x000019b0 sltu t8, v0, s2 | t8 = (v0 < s2) ? 1 : 0;
0x000019b4 addiu v0, v0, 1 | v0++;
| if (t8 == 0) {
0x000019b8 beqz t8, 0x19dc | goto label_1;
| }
0x000019bc sw v0, -0x692c(s0) | *((s0 - 6731)) = v0;
0x000019c0 sll v0, v0, 2 | v0 <<= 2;
0x000019c4 addu v0, s3, v0 | v0 = s3 + v0;
0x000019c8 lw t9, (v0) | t9 = *(v0);
0x000019cc jalr t9 | t9 ();
0x000019d0 nop |
0x000019d4 lw gp, 0x10(sp) | gp = *(var_10h);
0x000019d8 b 0x19ac |
| } while (1);
| label_1:
0x000019dc lw t9, -0x7fd8(gp) | t9 = *((gp - 8182));
0x000019e0 addiu t9, t9, 0x18a0 | t9 += entry0;
0x000019e4 jalr t9 | t9 ();
0x000019e8 nop |
0x000019ec addiu t8, zero, 1 | t8 = 1;
0x000019f0 sb t8, -0x6930(s1) | *((s1 - 26928)) = t8;
| label_0:
0x000019f4 lw ra, 0x2c(sp) | ra = *(var_2ch);
0x000019f8 lw s3, 0x28(sp) | s3 = *(var_28h);
0x000019fc lw s2, 0x24(sp) | s2 = *(var_24h);
0x00001a00 lw s1, 0x20(sp) | s1 = *(var_20h);
0x00001a04 lw s0, 0x1c(sp) | s0 = *(var_1ch);
0x00001a08 addiu sp, sp, 0x30 |
0x00001a0c jr ra | return v0;
| }
[*] Function system used 1 times libixml.so.2.0.8