[*] Binary protection state of libsyslog-ng-3.31.so.0.0.0
Full RELRO Canary found NX enabled DSO No RPATH No RUNPATH No Symbols
[*] Function strcpy tear down of libsyslog-ng-3.31.so.0.0.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/libsyslog-ng-3.31.so.0.0.0 @ 0x3235c */
| #include <stdint.h>
|
; (fcn) sym.log_source_options_destroy () | void log_source_options_destroy (int16_t arg1) {
| r0 = arg1;
0x0003235c push {r4, lr} |
0x0003235e mov r4, r0 | r4 = r0;
0x00032360 adds r0, 0x14 | r0 += 0x14;
0x00032362 blx 0x21cc8 | strcpy_chk ()
0x00032366 ldr r0, [r4, 0x24] | r0 = *((r4 + 0x24));
| if (r0 != 0) {
0x00032368 cbz r0, 0x3236e |
0x0003236a blx 0x21ed0 | fcn_00021ed0 ();
| }
0x0003236e ldr r0, [r4, 0x2c] | r0 = *((r4 + 0x2c));
| if (r0 != 0) {
0x00032370 cbz r0, 0x32376 |
0x00032372 blx 0x21ed0 | fcn_00021ed0 ();
| }
0x00032376 ldr r0, [r4, 0x40] | r0 = *((r4 + 0x40));
| if (r0 != 0) {
0x00032378 cbz r0, 0x32384 |
0x0003237a movs r1, 1 | r1 = 1;
0x0003237c blx 0x1f7d8 | fcn_0001f7d8 ();
0x00032380 movs r3, 0 | r3 = 0;
0x00032382 str r3, [r4, 0x40] | *((r4 + 0x40)) = r3;
| }
0x00032384 pop {r4, pc} |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/lib/libsyslog-ng-3.31.so.0.0.0 @ 0x35150 */
| #include <stdint.h>
|
; (fcn) sym.log_writer_options_destroy () | void log_writer_options_destroy (int16_t arg1) {
| r0 = arg1;
0x00035150 invalid |
0x00035154 adds r0, 0x18 | r0 += 0x18;
0x00035156 blx 0x22608 | fcn_00022608 ();
0x0003515a add.w r0, r4, 0x3c | r0 = r4 + 0x3c;
0x0003515e blx 0x21cc8 | strcpy_chk ()
0x00035160 ldc p1, c15, [r4, 0x10]! | __asm ("ldc p1, c15, [r4, 0x10]!");
0x00035164 lsls r4, r1, 1 | r4 = r1 << 1;
0x00035166 blx 0x222a0 | fcn_000222a0 ();
0x00035168 ldm.w ip, {r5, r6, r7, fp, sp, lr} | r5 = *(ip);
| r6 = *((ip + 4));
| r7 = *((ip + 8));
| fp = *((ip + 12));
| sp = *((ip + 16));
| lr = *((ip + 20));
0x0003516c blx 0x22908 | fcn_00022908 ();
0x00035170 ldr r0, [r4, 0x10] | r0 = *((r4 + 0x10));
0x00035172 blx 0x22908 | fcn_00022908 ();
0x00035176 ldr r0, [r4, 0x14] | r0 = *((r4 + 0x14));
0x00035178 blx 0x22908 | fcn_00022908 ();
0x0003517c movs r3, 0 | r3 = 0;
0x0003517e str r3, [r4] | *(r4) = r3;
0x00035180 pop {r4, pc} |
| }
[*] Function strcpy used 3 times libsyslog-ng-3.31.so.0.0.0