[*] Binary protection state of libBasicUsageEnvironment.so.1.0.0
No RELRO No Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function strcpy tear down of libBasicUsageEnvironment.so.1.0.0
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/lib/libBasicUsageEnvironment.so.1.0.0 @ 0x431c */
| #include <stdint.h>
|
; (fcn) fcn.0000431c () | void fcn_0000431c () {
| /* HandlerSet::~HandlerSet() */
0x0000431c lui gp, 2 |
0x00004320 addiu gp, gp, -0x2f5c |
0x00004324 addu gp, gp, t9 | gp += t9;
0x00004328 addiu sp, sp, -0x28 |
0x0000432c sw ra, 0x24(sp) | *(var_24h) = ra;
0x00004330 sw s1, 0x20(sp) | *(var_20h) = s1;
0x00004334 sw s0, 0x1c(sp) | *(var_1ch) = s0;
0x00004338 move s1, a0 | s1 = a0;
0x0000433c lw t8, -0x7f20(gp) | t8 = *((gp - 8136));
0x00004340 addiu s0, a0, 4 | s0 = a0 + 4;
0x00004344 sw gp, 0x10(sp) | *(var_10h) = gp;
0x00004348 addiu t8, t8, 8 | t8 += 8;
0x0000434c sw t8, (a0) | *(a0) = t8;
0x00004350 lw a0, 0x18(s1) | a0 = *((s1 + 6));
| do {
| label_0:
0x00004354 lw t9, -0x7f58(gp) | t9 = *((gp - 8150));
| if (a0 == s0) {
0x00004358 beq a0, s0, 0x4380 | goto label_1;
| }
0x0000435c beqz a0, 0x4354 |
| } while (a0 == 0);
0x00004360 nop |
0x00004364 lw t8, (a0) | t8 = *(a0);
0x00004368 lw t9, 4(t8) | t9 = *((t8 + 1));
0x0000436c jalr t9 | t9 ();
0x00004370 nop |
0x00004374 lw gp, 0x10(sp) | gp = *(var_10h);
0x00004378 lw a0, 0x18(s1) | a0 = *((s1 + 6));
0x0000437c b 0x4354 | goto label_0;
| label_1:
0x00004380 lw ra, 0x24(sp) | ra = *(var_24h);
0x00004384 lw s1, 0x20(sp) | s1 = *(var_20h);
0x00004388 lw s0, 0x1c(sp) | s0 = *(var_1ch);
0x0000438c addiu sp, sp, 0x28 |
0x00004390 jr t9 | t9 ();
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/lib/libBasicUsageEnvironment.so.1.0.0 @ 0x4c24 */
| #include <stdint.h>
|
; (fcn) method.AlarmHandler.handleTimeout__ () | void method_AlarmHandler_handleTimeout_ () {
| /* AlarmHandler::handleTimeout() */
0x00004c24 lui gp, 2 |
0x00004c28 addiu gp, gp, -0x3864 |
0x00004c2c addu gp, gp, t9 | gp += t9;
0x00004c30 addiu sp, sp, -0x20 |
0x00004c34 sw ra, 0x1c(sp) | *(var_1ch) = ra;
0x00004c38 sw s0, 0x18(sp) | *(var_18h) = s0;
0x00004c3c move s0, a0 | s0 = a0;
0x00004c40 lw t9, 0x18(s0) | t9 = *((s0 + 6));
0x00004c44 lw a0, 0x1c(a0) | a0 = *((a0 + 7));
0x00004c48 sw gp, 0x10(sp) | *(var_10h) = gp;
0x00004c4c jalr t9 | t9 ();
0x00004c50 nop |
0x00004c54 move a0, s0 | a0 = s0;
0x00004c58 lw gp, 0x10(sp) | gp = *(var_10h);
0x00004c5c lw ra, 0x1c(sp) | ra = *(var_1ch);
0x00004c60 lw t9, -0x7ef4(gp) | t9 = *((gp - 8125));
0x00004c64 lw s0, 0x18(sp) | s0 = *(var_18h);
0x00004c68 addiu sp, sp, 0x20 |
0x00004c6c jr t9 | return t9 ();
| }
[*] Function strcpy used 1 times libBasicUsageEnvironment.so.1.0.0