[*] Binary protection state of gpiod

  	RELRO          CANARY            NX           PIE          RPATH        RUNPATH      SYMBOLS      
  	No RELRO       No Canary found   NX disabled  No PIE       No RPATH     No RUNPATH   Symbols


[*] Function fprintf tear down of gpiod


00401ad8 <gpio_test>:
  401ad8:	3c1c0042 	lui	gp,0x42
  401adc:	27bdffd8 	addiu	sp,sp,-40
  401ae0:	279ce050 	addiu	gp,gp,-8112
  401ae4:	afbf0024 	sw	ra,36(sp)
  401ae8:	afb10020 	sw	s1,32(sp)
  401aec:	afb0001c 	sw	s0,28(sp)
  401af0:	afbc0010 	sw	gp,16(sp)
  401af4:	8f9980a8 	lw	t9,-32600(gp)
  401af8:	00808821 	move	s1,a0
  401afc:	3c050040 	lui	a1,0x40
  401b00:	3c040040 	lui	a0,0x40
  401b04:	24a551d4 	addiu	a1,a1,20948
  401b08:	0320f809 	jalr	t9
  401b0c:	248451bc 	addiu	a0,a0,20924
  401b10:	8fbc0010 	lw	gp,16(sp)
  401b14:	10400014 	beqz	v0,401b68 <gpio_test+0x90>
  401b18:	00408021 	move	s0,v0
  401b1c:	8f998038 	lw	t9,-32712(gp)
  401b20:	00000000 	nop
  401b24:	0320f809 	jalr	t9
  401b28:	02202021 	move	a0,s1
  401b2c:	8fbc0010 	lw	gp,16(sp)
  401b30:	3c050040 	lui	a1,0x40
  401b34:	8f998074 	lw	t9,fprintf
  401b38:	02002021 	move	a0,s0
  401b3c:	24a551d8 	addiu	a1,a1,20952
--
  402160:	8fbc0010 	lw	gp,16(sp)
  402164:	00001021 	move	v0,zero
  402168:	03e00008 	jr	ra
  40216c:	27bd0020 	addiu	sp,sp,32

00402170 <ii_read>:
  402170:	3c1c0042 	lui	gp,0x42
  402174:	27bdff90 	addiu	sp,sp,-112
  402178:	279ce050 	addiu	gp,gp,-8112
  40217c:	afbf006c 	sw	ra,108(sp)
  402180:	afb30068 	sw	s3,104(sp)
  402184:	afb20064 	sw	s2,100(sp)
  402188:	afb10060 	sw	s1,96(sp)
  40218c:	afb0005c 	sw	s0,92(sp)
  402190:	afbc0010 	sw	gp,16(sp)
  402194:	8f9980a8 	lw	t9,-32600(gp)
  402198:	3c130040 	lui	s3,0x40
  40219c:	30b200ff 	andi	s2,a1,0xff
  4021a0:	3c050040 	lui	a1,0x40
  4021a4:	309100ff 	andi	s1,a0,0xff
  4021a8:	24a551d4 	addiu	a1,a1,20948
  4021ac:	0320f809 	jalr	t9
  4021b0:	2664537c 	addiu	a0,s3,21372
  4021b4:	8fbc0010 	lw	gp,16(sp)
  4021b8:	00000000 	nop
  4021bc:	8f998074 	lw	t9,fprintf
  4021c0:	10400037 	beqz	v0,4022a0 <ii_read+0x130>
  4021c4:	00408021 	move	s0,v0
--
  402210:	8fbc0010 	lw	gp,16(sp)
  402214:	10400016 	beqz	v0,402270 <ii_read+0x100>
  402218:	00408821 	move	s1,v0
  40221c:	27b00018 	addiu	s0,sp,24
  402220:	8f9980ac 	lw	t9,-32596(gp)
  402224:	00403821 	move	a3,v0
  402228:	02002021 	move	a0,s0
  40222c:	24050001 	li	a1,1
  402230:	0320f809 	jalr	t9
  402234:	24060040 	li	a2,64
  402238:	8fbc0010 	lw	gp,16(sp)
  40223c:	02002021 	move	a0,s0
  402240:	8f9980d0 	lw	t9,-32560(gp)
  402244:	00002821 	move	a1,zero
  402248:	0320f809 	jalr	t9
  40224c:	24060010 	li	a2,16
  402250:	8fbc0010 	lw	gp,16(sp)
  402254:	02202021 	move	a0,s1
  402258:	8f9980b0 	lw	t9,-32592(gp)
  40225c:	00000000 	nop
  402260:	0320f809 	jalr	t9
  402264:	00408021 	move	s0,v0
  402268:	10000016 	b	4022c4 <ii_read+0x154>
  40226c:	00000000 	nop
  402270:	8f82809c 	lw	v0,-32612(gp)
  402274:	8f998074 	lw	t9,fprintf
  402278:	8c440000 	lw	a0,0(v0)
  40227c:	3c050040 	lui	a1,0x40


[*] Function fprintf used 3 times gpiod