[*] Binary protection state of dbus-daemon
No RELRO No Canary found NX disabled No PIE RPATH No RUNPATH No Symbols
[*] Function printf tear down of dbus-daemon
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/var/bluetooth/bin/dbus-daemon @ 0x4054e0 */
| #include <stdint.h>
|
; (fcn) sym.imp.dbus_connection_preallocate_send () | void dbus_connection_preallocate_send () {
0x004054e0 sw fp, 0x18(sp) | *(arg_18h) = fp;
0x004054e4 move fp, sp | fp = sp;
0x004054e8 sw a0, 0x20(fp) | *(arg_20h) = a0;
0x004054ec lw t8, 0x20(fp) | t8 = *(arg_20h);
| if (t8 == 0) {
0x004054f0 bnez t8, 0x405500 |
0x004054f4 nop |
0x004054f8 j 0x405570 | goto label_0;
0x004054fc nop |
| }
0x00405500 lw t8, 0x20(fp) | t8 = *(arg_20h);
0x00405504 lw t8, (t8) | t8 = *(t8);
0x00405508 addiu v0, t8, -1 | v0 = t8 + -1;
0x0040550c lw t8, 0x20(fp) | t8 = *(arg_20h);
0x00405510 sw v0, (t8) | *(t8) = v0;
0x00405514 lw t8, 0x20(fp) | t8 = *(arg_20h);
0x00405518 lw t8, (t8) | t8 = *(t8);
| if (t8 > 0) {
0x0040551c blez t8, 0x40552c |
0x00405520 nop |
0x00405524 j 0x405570 | goto label_0;
0x00405528 nop |
| }
0x0040552c lw t8, 0x20(fp) | t8 = *(arg_20h);
0x00405530 lw t8, 8(t8) | t8 = *((t8 + 2));
| if (t8 != 0) {
0x00405534 beqz t8, 0x405550 |
0x00405538 nop |
0x0040553c lw t8, 0x20(fp) | t8 = *(arg_20h);
0x00405540 lw t8, 8(t8) | t8 = *((t8 + 2));
0x00405544 move a0, t8 | a0 = t8;
0x00405548 jal 0x440fd0 | fcn_00440fd0 ();
0x0040554c nop |
| }
0x00405550 lw t8, 0x20(fp) | t8 = *(arg_20h);
0x00405554 lw t8, 4(t8) | t8 = *((t8 + 1));
0x00405558 move a0, t8 | a0 = t8;
0x0040555c jal 0x441470 | sym_imp_dbus_free ();
0x00405560 nop |
0x00405564 lw a0, 0x20(fp) | a0 = *(arg_20h);
0x00405568 jal 0x441470 | sym_imp_dbus_free ();
0x0040556c nop |
| label_0:
0x00405570 move sp, fp |
0x00405574 lw ra, 0x1c(sp) | ra = *(arg_1ch);
0x00405578 lw fp, 0x18(sp) | fp = *(arg_18h);
0x0040557c addiu sp, sp, 0x20 |
0x00405580 jr ra | return v0;
0x00405584 nop |
| }
[*] Function printf used 1 times dbus-daemon