[*] Binary protection state of libxt_bpf.so
Partial RELRO No Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function printf tear down of libxt_bpf.so
844: e59f7058 ldr r7, [pc, #88] ; 8a4 <libxt_bpf_init+0x208>
848: e1a04001 mov r4, r1
84c: e1a06002 mov r6, r2
850: e2805008 add r5, r0, #8
854: e08f7007 add r7, pc, r7
858: e3540000 cmp r4, #0
85c: 1a000001 bne 868 <libxt_bpf_init+0x1cc>
860: e28dd00c add sp, sp, #12
864: e8bd80f0 pop {r4, r5, r6, r7, pc}
868: e5150004 ldr r0, [r5, #-4]
86c: e3540002 cmp r4, #2
870: 31a0c006 movcc ip, r6
874: 23a0c02c movcs ip, #44 ; 0x2c
878: e2444001 sub r4, r4, #1
87c: e15510b8 ldrh r1, [r5, #-8]
880: e5552006 ldrb r2, [r5, #-6]
884: e5553005 ldrb r3, [r5, #-5]
888: e1a04804 lsl r4, r4, #16
88c: e88d1001 stm sp, {r0, ip}
890: e1a00007 mov r0, r7
894: ebffff48 bl 5bc <printf@plt>
898: e1a04824 lsr r4, r4, #16
89c: e2855008 add r5, r5, #8
8a0: eaffffec b 858 <libxt_bpf_init+0x1bc>
8a4: 0000056c andeq r0, r0, ip, ror #10
8a8: e59f0020 ldr r0, [pc, #32] ; 8d0 <libxt_bpf_init+0x234>
8ac: e92d4010 push {r4, lr}
8b0: e08f0000 add r0, pc, r0
8b4: e1a04001 mov r4, r1
8b8: ebffff3f bl 5bc <printf@plt>
8bc: e1d412b0 ldrh r1, [r4, #32]
8c0: e2840024 add r0, r4, #36 ; 0x24
--
960: e59f1018 ldr r1, [pc, #24] ; 980 <libxt_bpf_init+0x2e4>
964: e5933000 ldr r3, [r3]
968: e08f1001 add r1, pc, r1
96c: e5933014 ldr r3, [r3, #20]
970: e3a00002 mov r0, #2
974: e12fff33 blx r3
978: 000116ac andeq r1, r1, ip, lsr #13
97c: 00000054 andeq r0, r0, r4, asr r0
980: 000005f1 strdeq r0, [r0], -r1
984: e1d122b0 ldrh r2, [r1, #32]
988: e59f3074 ldr r3, [pc, #116] ; a04 <libxt_bpf_init+0x368>
98c: e3520000 cmp r2, #0
990: e92d4070 push {r4, r5, r6, lr}
994: e08f3003 add r3, pc, r3
998: e1a04001 mov r4, r1
99c: 1a000009 bne 9c8 <libxt_bpf_init+0x32c>
9a0: e1d152b2 ldrh r5, [r1, #34] ; 0x22
9a4: e59f005c ldr r0, [pc, #92] ; a08 <libxt_bpf_init+0x36c>
9a8: e1a01005 mov r1, r5
9ac: e08f0000 add r0, pc, r0
9b0: ebffff01 bl 5bc <printf@plt>
9b4: e1a01005 mov r1, r5
9b8: e2840028 add r0, r4, #40 ; 0x28
--
9d8: e08f0000 add r0, pc, r0
9dc: e8bd4070 pop {r4, r5, r6, lr}
9e0: eafffef5 b 5bc <printf@plt>
9e4: e59f2024 ldr r2, [pc, #36] ; a10 <libxt_bpf_init+0x374>
9e8: e59f1024 ldr r1, [pc, #36] ; a14 <libxt_bpf_init+0x378>
9ec: e7933002 ldr r3, [r3, r2]
9f0: e08f1001 add r1, pc, r1
9f4: e5933000 ldr r3, [r3]
9f8: e3a00001 mov r0, #1
9fc: e5933014 ldr r3, [r3, #20]
a00: e12fff33 blx r3
a04: 00011664 andeq r1, r1, r4, ror #12
a08: 000005f0 strdeq r0, [r0], -r0 ; <UNPREDICTABLE>
a0c: 000005d6 ldrdeq r0, [r0], -r6
a10: 00000054 andeq r0, r0, r4, asr r0
a14: 000005d2 ldrdeq r0, [r0], -r2
a18: e59f0054 ldr r0, [pc, #84] ; a74 <libxt_bpf_init+0x3d8>
a1c: e92d4010 push {r4, lr}
a20: e08f0000 add r0, pc, r0
a24: e1a04001 mov r4, r1
a28: ebfffee3 bl 5bc <printf@plt>
a2c: e1d422b0 ldrh r2, [r4, #32]
a30: e3520000 cmp r2, #0
--
d4c: e92d4070 push {r4, r5, r6, lr}
d50: e590500c ldr r5, [r0, #12]
d54: e1a04000 mov r4, r0
d58: ebfffe2c bl 610 <xtables_option_parse@plt>
d5c: e5943008 ldr r3, [r4, #8]
d60: e5933008 ldr r3, [r3, #8]
d64: e3530000 cmp r3, #0
d68: 1a000004 bne d80 <libxt_bpf_init+0x6e4>
d6c: e5942000 ldr r2, [r4]
d70: e1a01005 mov r1, r5
d74: e2850004 add r0, r5, #4
d78: e8bd4070 pop {r4, r5, r6, lr}
d7c: eaffff3f b a80 <libxt_bpf_init+0x3e4>
d80: ebfffe37 bl 664 <__register_frame_info@plt+0xc>
d84: e92d4070 push {r4, r5, r6, lr}
d88: e59f0024 ldr r0, [pc, #36] ; db4 <libxt_bpf_init+0x718>
d8c: e1d152b0 ldrh r5, [r1, #32]
d90: e1a04001 mov r4, r1
d94: e08f0000 add r0, pc, r0
d98: e1a01005 mov r1, r5
d9c: ebfffe06 bl 5bc <printf@plt>
da0: e1a01005 mov r1, r5
da4: e2840024 add r0, r4, #36 ; 0x24
[*] Function printf used 5 times libxt_bpf.so