[*] Binary protection state of dbus-daemon-launch-helper
Partial RELRO No Canary found NX disabled No PIE No RPATH No RUNPATH No Symbols
[*] Function system tear down of dbus-daemon-launch-helper
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/usr/libexec/dbus-daemon-launch-helper @ 0x1762c */
| #include <stdint.h>
|
; (fcn) fcn.0001762c () | void fcn_0001762c (int32_t arg1, int32_t arg2) {
| int32_t var_4h;
| int32_t var_8h;
| r0 = arg1;
| r1 = arg2;
0x0001762c push {r0, r1, r4, r5, r6, lr} |
0x00017630 mov r6, r0 | r6 = r0;
0x00017634 mov r5, r1 | r5 = r1;
0x00017638 mov r4, r2 | r4 = r2;
0x0001763c bl 0x12b3c | r0 = dbus_user_database_lock_system ()
0x00017640 cmp r0, 0 |
| if (r0 == 0) {
0x00017644 beq 0x1765c | goto label_0;
| }
0x00017648 bl 0x12c20 | r0 = dbus_user_database_get_system ()
0x0001764c cmp r0, 0 |
0x00017650 bne 0x17664 |
| while (r0 == 0) {
0x00017654 bl 0x12bfc | dbus_user_database_unlock_system ()
0x00017658 mov r0, 0 | r0 = 0;
| label_0:
0x0001765c add sp, sp, 8 |
0x00017660 pop {r4, r5, r6, pc} |
0x00017664 mov r3, 0 | r3 = 0;
0x00017668 add r2, sp, 4 | r2 += var_4h;
0x0001766c mov r1, r6 | r1 = r6;
0x00017670 bl 0x12ca4 | r0 = dbus_user_database_get_username ();
0x00017674 cmp r0, 0 |
0x00017678 beq 0x17654 |
| }
0x0001767c cmp r5, 0 |
| if (r5 == 0) {
0x00017680 ldrne r3, [sp, 4] | r3 = var_4h;
| }
| if (r5 == 0) {
0x00017684 ldrne r3, [r3] | r3 = *(r3);
| }
| if (r5 == 0) {
0x00017688 strne r3, [r5] | *(r5) = r3;
| }
0x0001768c cmp r4, 0 |
| if (r4 == 0) {
0x00017690 ldrne r3, [sp, 4] | r3 = var_4h;
| }
| if (r4 == 0) {
0x00017694 ldrne r3, [r3, 4] | r3 = *((r3 + 4));
| }
| if (r4 == 0) {
0x00017698 strne r3, [r4] | *(r4) = r3;
| }
0x0001769c bl 0x12bfc | dbus_user_database_unlock_system ()
0x000176a0 mov r0, 1 | r0 = 1;
0x000176a4 b 0x1765c | goto label_0;
| }
[*] Function system used 5 times dbus-daemon-launch-helper