[*] Binary protection state of libgstnet-1.0.so.0.1803.0
Full RELRO No Canary found NX enabled DSO RPATH No RUNPATH No Symbols
[*] Function printf tear down of libgstnet-1.0.so.0.1803.0
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/lib/libgstnet-1.0.so.0.1803.0 @ 0x5508 */
| #include <stdint.h>
|
; (fcn) sym.gst_buffer_add_net_control_message_meta () | void gst_buffer_add_net_control_message_meta (int16_t arg1, int16_t arg2) {
| r0 = arg1;
| r1 = arg2;
| if (? >= ?) {
0x00005508 ldrlt r4, [r8, -0xa1d]! | r4 = *((r8 -= 0xa1d));
| }
0x0000550c add r2, pc | r2 += pc;
| if (r0 != 0) {
0x0000550e cbz r0, 0x5520 |
0x00005510 ldr r3, [pc, 0x70] |
0x00005512 mov r4, r1 | r4 = r1;
0x00005514 ldr r1, [r0] | r1 = *(r0);
0x00005516 mov r5, r0 | r5 = r0;
0x00005518 ldr r3, [r2, r3] | r3 = *((r2 + r3));
0x0000551a ldr r3, [r3] | r3 = *(0x5584);
0x0000551c cmp r1, r3 |
| if (r1 == r3) {
0x0000551e beq 0x5534 | goto label_0;
| }
| }
0x00005520 ldr r2, [pc, 0x64] |
0x00005522 movs r0, 0 | r0 = 0;
0x00005524 ldr r1, [pc, 0x64] |
0x00005526 mov r4, r0 | r4 = r0;
0x00005528 add r2, pc | r2 = 0xaab4;
0x0000552a add r1, pc | r1 = 0xaaba;
0x0000552c blx 0x3038 | fcn_00003038 ();
0x00005530 mov r0, r4 | r0 = r4;
0x00005532 pop {r3, r4, r5, pc} |
| if (r4 != 0) {
| label_0:
0x00005534 cbz r4, 0x556c |
0x00005536 blx 0x3264 | g_socket_get_fd ();
0x0000553a ldr r3, [r4] | r3 = *(r4);
0x0000553c mov r1, r0 | r1 = r0;
| if (r3 != 0) {
0x0000553e cbz r3, 0x5546 |
0x00005540 ldr r3, [r3] | r3 = *(r3);
0x00005542 cmp r3, r0 |
| if (r3 == r0) {
0x00005544 beq 0x554e | goto label_1;
| }
| }
0x00005546 mov r0, r4 | r0 = r4;
0x00005548 blx 0x312c | r0 = gst_clock_set_calibration ();
| if (r0 == 0) {
0x0000554c cbz r0, 0x556c | goto label_2;
| }
| label_1:
0x0000554e bl 0x549c | gst_net_control_message_meta_get_info ();
0x00005552 movs r2, 0 | r2 = 0;
0x00005554 mov r1, r0 | r1 = r0;
0x00005556 mov r0, r5 | r0 = r5;
0x00005558 blx 0x3074 | r0 = fcn_00003074 ();
0x0000555c mov r3, r0 | r3 = r0;
0x0000555e mov r0, r4 | r0 = r4;
0x00005560 mov r4, r3 | r4 = r3;
0x00005562 blx 0x2f34 | g_strdup_printf ()
0x00005566 str r0, [r4, 8] | *((r4 + 8)) = r0;
0x00005568 mov r0, r4 | r0 = r4;
0x0000556a pop {r3, r4, r5, pc} |
| }
| label_2:
0x0000556c ldr r2, [pc, 0x20] |
0x0000556e movs r0, 0 | r0 = 0;
0x00005570 ldr r1, [pc, 0x20] |
0x00005572 mov r4, r0 | r4 = r0;
0x00005574 add r2, pc | r2 = 0xab08;
0x00005576 add r1, pc | r1 = 0xab0e;
0x00005578 blx 0x3038 | fcn_00003038 ();
0x0000557c mov r0, r4 | r0 = r4;
0x0000557e pop {r3, r4, r5, pc} |
| }
[*] Function printf used 2 times libgstnet-1.0.so.0.1803.0