[*] Binary protection state of ethtool

  
  	Full RELRO     Canary found      NX enabled   PIE enabled  No RPATH     No RUNPATH   No Symbols


[*] Function printf tear down of ethtool

str r6, [r0, 8]
str r7, [r0, 0xc]
str r3, [r0, 4]
ldrb.w r3, [sb]
strb r3, [r0, 0x10]
movs r3, 0xc
str r3, [r0]
cmp.w r8, 0
bne 0xaf88
ldr r2, [sp, 0xc]
mov r1, r7
ldr r3, [0x0000b060]
adds r0, 0x10
ldr r6, [r2, r3]
movs r2, 1
ldr r3, [r6]
blx 0x6668
cmp r0, 1
bne 0xaffe
ldr r0, [r6]
blx sym.imp.__printf_chk
adds r0, 1
bne 0xafe0
--
movs r0, 0xa
ldr r3, [r7, r3]
ldr r1, [r3]
blx sym.imp.putc
ldr r3, [sp, 0xc]
cmp r3, 0
beq 0x298b0
movs r3, 0
mov r0, r4
mov r2, r3
mov r1, r3
bl 0x2e4a0
cmp r6, 0
beq 0x298b4
ldr r3, [0x00029af4]
mov r1, r4
ldr r2, [r4]
ldr r3, [r7, r3]
ldr r0, [r3]
movs r3, 4
blx sym.imp.mnl_nlmsg_fprintf
b 0x298b4
ldr r3, [0x00029af8]

[*] Function printf used 2 times ethtool