[*] Binary protection state of libgstnet-1.0.so.0.2202.0
Full RELRO No Canary found NX enabled DSO No RPATH No RUNPATH No Symbols
[*] Function printf tear down of libgstnet-1.0.so.0.2202.0
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/libgstnet-1.0.so.0.2202.0 @ 0x55f0 */
| #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 (? >= ?) {
0x000055f0 ldrlt r4, [r8, -0xa1d]! | r4 = *((r8 -= 0xa1d));
| }
0x000055f4 add r2, pc | r2 += pc;
| if (r0 != 0) {
0x000055f6 cbz r0, 0x5608 |
0x000055f8 ldr r3, [pc, 0x70] |
0x000055fa mov r4, r1 | r4 = r1;
0x000055fc ldr r1, [r0] | r1 = *(r0);
0x000055fe mov r5, r0 | r5 = r0;
0x00005600 ldr r3, [r2, r3] | r3 = *((r2 + r3));
0x00005602 ldr r3, [r3] | r3 = *(0x566c);
0x00005604 cmp r1, r3 |
| if (r1 == r3) {
0x00005606 beq 0x561e | goto label_0;
| }
| }
0x00005608 ldr r2, [pc, 0x64] |
0x0000560a ldr r1, [pc, 0x68] |
0x0000560c ldr r0, [pc, 0x68] |
0x0000560e add r2, pc | r2 = 0xac82;
0x00005610 add r1, pc | r1 = 0xac8a;
0x00005612 add r0, pc | r0 = 0xac8e;
0x00005614 blx 0x30c0 | fcn_000030c0 ();
0x00005616 invalid |
| do {
0x00005618 movs r4, 0 | r4 = 0;
0x0000561a mov r0, r4 | r0 = r4;
0x0000561c pop {r3, r4, r5, pc} |
| if (r4 != 0) {
| label_0:
0x0000561e cbz r4, 0x5638 |
0x00005620 blx 0x32ec | g_socket_get_fd ();
0x00005624 ldr r3, [r4] | r3 = *(r4);
0x00005626 mov r1, r0 | r1 = r0;
| if (r3 != 0) {
0x00005628 cbz r3, 0x5630 |
0x0000562a ldr r3, [r3] | r3 = *(r3);
0x0000562c cmp r3, r0 |
| if (r3 == r0) {
0x0000562e beq 0x564a | goto label_1;
| }
| }
0x00005630 mov r0, r4 | r0 = r4;
0x00005632 blx 0x31b4 | r0 = gst_clock_set_calibration ();
| if (r0 != 0) {
0x00005636 cbnz r0, 0x564a | goto label_1;
| }
| }
0x00005638 ldr r2, [pc, 0x40] |
0x0000563a ldr r1, [pc, 0x44] |
0x0000563c ldr r0, [pc, 0x44] |
0x0000563e add r2, pc | r2 = 0xacbe;
0x00005640 add r1, pc | r1 = 0xacc6;
0x00005642 add r0, pc | r0 = 0xacca;
0x00005644 blx 0x30c0 | fcn_000030c0 ();
0x00005648 b 0x5618 |
| } while (1);
| label_1:
0x0000564a bl 0x5584 | gst_net_control_message_meta_get_info ();
0x0000564e movs r2, 0 | r2 = 0;
0x00005650 mov r1, r0 | r1 = r0;
0x00005652 mov r0, r5 | r0 = r5;
0x00005654 blx 0x30fc | r0 = fcn_000030fc ();
0x00005658 mov r3, r0 | r3 = r0;
0x0000565a mov r0, r4 | r0 = r4;
0x0000565c mov r4, r3 | r4 = r3;
0x0000565e blx 0x2fbc | g_strdup_printf ()
0x00005662 str r0, [r4, 8] | *((r4 + 8)) = r0;
0x00005664 mov r0, r4 | r0 = r4;
0x00005666 pop {r3, r4, r5, pc} |
| }
[*] Function printf used 2 times libgstnet-1.0.so.0.2202.0