[*] Binary protection state of librtsio.so.1.2.1
No RELRO No Canary found NX disabled DSO RPATH No RUNPATH No Symbols
[*] Function printf tear down of librtsio.so.1.2.1
10b4: afb10044 sw s1,68(sp)
10b8: afb00040 sw s0,64(sp)
10bc: 00c09021 move s2,a2
10c0: 8f868028 lw a2,-32728(gp)
10c4: 0080c021 move t8,a0
10c8: 8f9980d8 lw t9,-32552(gp)
10cc: 27b10018 addiu s1,sp,24
10d0: afbc0010 sw gp,16(sp)
10d4: 02202021 move a0,s1
10d8: 24c63200 addiu a2,a2,12800
10dc: 00a0a021 move s4,a1
10e0: 00e09821 move s3,a3
10e4: 24050014 li a1,20
10e8: 0320f809 jalr t9
10ec: 03003821 move a3,t8
10f0: 02202021 move a0,s1
10f4: 8fbc0010 lw gp,16(sp)
10f8: 8f998058 lw t9,-32680(gp)
10fc: 0320f809 jalr t9
1100: 24050001 li a1,1
1104: 8fbc0010 lw gp,16(sp)
1108: 04410009 bgez v0,1130 <rts_io_i2c_write+0x9c>
110c: 00408021 move s0,v0
1110: 8f848028 lw a0,-32728(gp)
1114: 02202821 move a1,s1
1118: 8f9980e4 lw t9,printf
111c: 0320f809 jalr t9
1120: 2484320c addiu a0,a0,12812
--
1234: afb10044 sw s1,68(sp)
1238: afb00040 sw s0,64(sp)
123c: 00c09021 move s2,a2
1240: 8f868028 lw a2,-32728(gp)
1244: 0080c021 move t8,a0
1248: 8f9980d8 lw t9,-32552(gp)
124c: 27b10018 addiu s1,sp,24
1250: afbc0010 sw gp,16(sp)
1254: 02202021 move a0,s1
1258: 24c63200 addiu a2,a2,12800
125c: 00a0a021 move s4,a1
1260: 00e09821 move s3,a3
1264: 24050014 li a1,20
1268: 0320f809 jalr t9
126c: 03003821 move a3,t8
1270: 02202021 move a0,s1
1274: 8fbc0010 lw gp,16(sp)
1278: 8f998058 lw t9,-32680(gp)
127c: 0320f809 jalr t9
1280: 24050002 li a1,2
1284: 8fbc0010 lw gp,16(sp)
1288: 04410009 bgez v0,12b0 <rts_io_i2c_read+0x9c>
128c: 00408021 move s0,v0
1290: 8f848028 lw a0,-32728(gp)
1294: 02202821 move a1,s1
1298: 8f9980e4 lw t9,printf
129c: 0320f809 jalr t9
12a0: 2484320c addiu a0,a0,12812
--
1994: 8fbf001c lw ra,28(sp)
1998: 8fb00018 lw s0,24(sp)
199c: 03e00008 jr ra
19a0: 27bd0020 addiu sp,sp,32
19a4: 3c1c0002 lui gp,0x2
19a8: 279c9bec addiu gp,gp,-25620
19ac: 0399e021 addu gp,gp,t9
19b0: 27bdffd0 addiu sp,sp,-48
19b4: afbf002c sw ra,44(sp)
19b8: afb30028 sw s3,40(sp)
19bc: afb20024 sw s2,36(sp)
19c0: afb10020 sw s1,32(sp)
19c4: afb0001c sw s0,28(sp)
19c8: 00a09821 move s3,a1
19cc: 8f998058 lw t9,-32680(gp)
19d0: 00002821 move a1,zero
19d4: afbc0010 sw gp,16(sp)
19d8: 00809021 move s2,a0
19dc: 0320f809 jalr t9
19e0: 00c08821 move s1,a2
19e4: 00408021 move s0,v0
19e8: 04410009 bgez v0,1a10 <rts_io_i2c_update_bits+0x1a8>
19ec: 8fbc0010 lw gp,16(sp)
19f0: 8f848028 lw a0,-32728(gp)
19f4: 02402821 move a1,s2
19f8: 8f9980e4 lw t9,printf
19fc: 0320f809 jalr t9
1a00: 2484320c addiu a0,a0,12812
--
1a18: 0240c821 move t9,s2
1a1c: 0320f809 jalr t9
1a20: 00002021 move a0,zero
1a24: 02002021 move a0,s0
1a28: 8fbc0010 lw gp,16(sp)
1a2c: 24050007 li a1,7
1a30: 8f99804c lw t9,-32692(gp)
1a34: 0320f809 jalr t9
1a38: 00403021 move a2,v0
1a3c: 02203021 move a2,s1
1a40: 8fbc0010 lw gp,16(sp)
1a44: 02002021 move a0,s0
1a48: 8f99808c lw t9,-32628(gp)
1a4c: 0320f809 jalr t9
1a50: 02602821 move a1,s3
1a54: 8fbc0010 lw gp,16(sp)
1a58: 0441000b bgez v0,1a88 <rts_io_i2c_update_bits+0x220>
1a5c: 00408821 move s1,v0
1a60: 8f998064 lw t9,-32668(gp)
1a64: 3c11fcfe lui s1,0xfcfe
1a68: 0320f809 jalr t9
1a6c: 3631fffe ori s1,s1,0xfffe
1a70: 8fbc0010 lw gp,16(sp)
1a74: 8c450000 lw a1,0(v0)
1a78: 8f848028 lw a0,-32728(gp)
1a7c: 8f9980e4 lw t9,printf
1a80: 0320f809 jalr t9
1a84: 24843220 addiu a0,a0,12832
--
1acc: 8fb10020 lw s1,32(sp)
1ad0: 8fb0001c lw s0,28(sp)
1ad4: 03e00008 jr ra
1ad8: 27bd0030 addiu sp,sp,48
1adc: 3c1c0002 lui gp,0x2
1ae0: 279c9ab4 addiu gp,gp,-25932
1ae4: 0399e021 addu gp,gp,t9
1ae8: 27bdffd0 addiu sp,sp,-48
1aec: afbf002c sw ra,44(sp)
1af0: afb30028 sw s3,40(sp)
1af4: afb20024 sw s2,36(sp)
1af8: afb10020 sw s1,32(sp)
1afc: afb0001c sw s0,28(sp)
1b00: 00a09821 move s3,a1
1b04: 8f998058 lw t9,-32680(gp)
1b08: 24050001 li a1,1
1b0c: afbc0010 sw gp,16(sp)
1b10: 00809021 move s2,a0
1b14: 0320f809 jalr t9
1b18: 00c08821 move s1,a2
1b1c: 00408021 move s0,v0
1b20: 04410009 bgez v0,1b48 <rts_io_i2c_update_bits+0x2e0>
1b24: 8fbc0010 lw gp,16(sp)
1b28: 8f848028 lw a0,-32728(gp)
1b2c: 02402821 move a1,s2
1b30: 8f9980e4 lw t9,printf
1b34: 0320f809 jalr t9
1b38: 2484320c addiu a0,a0,12812
--
1b50: 0240c821 move t9,s2
1b54: 0320f809 jalr t9
1b58: 24040001 li a0,1
1b5c: 02002021 move a0,s0
1b60: 8fbc0010 lw gp,16(sp)
1b64: 24050007 li a1,7
1b68: 8f99804c lw t9,-32692(gp)
1b6c: 0320f809 jalr t9
1b70: 00403021 move a2,v0
1b74: 02203021 move a2,s1
1b78: 8fbc0010 lw gp,16(sp)
1b7c: 02002021 move a0,s0
1b80: 8f9980a0 lw t9,-32608(gp)
1b84: 0320f809 jalr t9
1b88: 02602821 move a1,s3
1b8c: 8fbc0010 lw gp,16(sp)
1b90: 0441000b bgez v0,1bc0 <rts_io_i2c_update_bits+0x358>
1b94: 00408821 move s1,v0
1b98: 8f998064 lw t9,-32668(gp)
1b9c: 3c11fcfe lui s1,0xfcfe
1ba0: 0320f809 jalr t9
1ba4: 3631fffd ori s1,s1,0xfffd
1ba8: 8fbc0010 lw gp,16(sp)
1bac: 8c450000 lw a1,0(v0)
1bb0: 8f848028 lw a0,-32728(gp)
1bb4: 8f9980e4 lw t9,printf
1bb8: 0320f809 jalr t9
1bbc: 24843244 addiu a0,a0,12868
--
1c80: 8fbc0010 lw gp,16(sp)
1c84: 8f848028 lw a0,-32728(gp)
1c88: 8f9980c0 lw t9,-32576(gp)
1c8c: 0320f809 jalr t9
1c90: 2484326c addiu a0,a0,12908
1c94: 8fbc0010 lw gp,16(sp)
1c98: 8f9980ec lw t9,-32532(gp)
1c9c: 0320f809 jalr t9
1ca0: 02002021 move a0,s0
1ca4: 3c02fcfe lui v0,0xfcfe
1ca8: 10000049 b 1dd0 <rts_io_gpio_requested+0x1bc>
1cac: 3442fff9 ori v0,v0,0xfff9
1cb0: 8fb80018 lw t8,24(sp)
1cb4: 17120004 bne t8,s2,1cc8 <rts_io_gpio_requested+0xb4>
1cb8: 8f9980dc lw t9,-32548(gp)
1cbc: 8f848028 lw a0,-32728(gp)
1cc0: 10000008 b 1ce4 <rts_io_gpio_requested+0xd0>
1cc4: 24843288 addiu a0,a0,12936
1cc8: 02002021 move a0,s0
1ccc: 0320f809 jalr t9
1cd0: 02602821 move a1,s3
1cd4: 0441000c bgez v0,1d08 <rts_io_gpio_requested+0xf4>
1cd8: 8fbc0010 lw gp,16(sp)
1cdc: 8f848028 lw a0,-32728(gp)
1ce0: 248432ac addiu a0,a0,12972
1ce4: 8f9980e4 lw t9,printf
1ce8: 0320f809 jalr t9
1cec: 02202821 move a1,s1
1cf0: 8fbc0010 lw gp,16(sp)
1cf4: 8f9980ec lw t9,-32532(gp)
1cf8: 0320f809 jalr t9
1cfc: 02002021 move a0,s0
1d00: 10000033 b 1dd0 <rts_io_gpio_requested+0x1bc>
1d04: 24020001 li v0,1
1d08: 8f998060 lw t9,-32672(gp)
1d0c: 02002021 move a0,s0
1d10: 0320f809 jalr t9
1d14: 02602821 move a1,s3
1d18: 04410007 bgez v0,1d38 <rts_io_gpio_requested+0x124>
1d1c: 8fbc0010 lw gp,16(sp)
1d20: 8f848028 lw a0,-32728(gp)
1d24: 02202821 move a1,s1
1d28: 8f9980e4 lw t9,printf
1d2c: 0320f809 jalr t9
1d30: 24843344 addiu a0,a0,13124
--
1e04: afb10024 sw s1,36(sp)
1e08: afb00020 sw s0,32(sp)
1e0c: 24180001 li t8,1
1e10: afbc0010 sw gp,16(sp)
1e14: 00809021 move s2,a0
1e18: 14980028 bne a0,t8,1ebc <rts_io_gpio_request+0xd0>
1e1c: 00a08021 move s0,a1
1e20: 8f998068 lw t9,-32664(gp)
1e24: 0320f809 jalr t9
1e28: 00000000 nop
1e2c: 8fbc0010 lw gp,16(sp)
1e30: 04410005 bgez v0,1e48 <rts_io_gpio_request+0x5c>
1e34: 00408821 move s1,v0
1e38: 8f848028 lw a0,-32728(gp)
1e3c: 8f9980c0 lw t9,-32576(gp)
1e40: 10000016 b 1e9c <rts_io_gpio_request+0xb0>
1e44: 24843310 addiu a0,a0,13072
1e48: 8f9980dc lw t9,-32548(gp)
1e4c: 00402021 move a0,v0
1e50: 0320f809 jalr t9
1e54: 320500ff andi a1,s0,0xff
1e58: 04410008 bgez v0,1e7c <rts_io_gpio_request+0x90>
1e5c: 8fbc0010 lw gp,16(sp)
1e60: 8f848028 lw a0,-32728(gp)
1e64: 02002821 move a1,s0
1e68: 8f9980e4 lw t9,printf
1e6c: 0320f809 jalr t9
1e70: 24843324 addiu a0,a0,13092
--
1f3c: 8fb00020 lw s0,32(sp)
1f40: 03e00008 jr ra
1f44: 27bd0030 addiu sp,sp,48
00001f48 <rts_io_gpio_free>:
1f48: 3c1c0002 lui gp,0x2
1f4c: 279c9648 addiu gp,gp,-27064
1f50: 0399e021 addu gp,gp,t9
1f54: 27bdffd0 addiu sp,sp,-48
1f58: afbf002c sw ra,44(sp)
1f5c: afb10028 sw s1,40(sp)
1f60: afb00024 sw s0,36(sp)
1f64: 24020001 li v0,1
1f68: 8c980000 lw t8,0(a0)
1f6c: afbc0010 sw gp,16(sp)
1f70: 17020018 bne t8,v0,1fd4 <rts_io_gpio_free+0x8c>
1f74: 00808021 move s0,a0
1f78: 8f998060 lw t9,-32672(gp)
1f7c: 8c840008 lw a0,8(a0)
1f80: 0320f809 jalr t9
1f84: 92050004 lbu a1,4(s0)
1f88: 8fbc0010 lw gp,16(sp)
1f8c: 04410008 bgez v0,1fb0 <rts_io_gpio_free+0x68>
1f90: 00408821 move s1,v0
1f94: 8f848028 lw a0,-32728(gp)
1f98: 8f9980e4 lw t9,printf
1f9c: 8e050004 lw a1,4(s0)
1fa0: 0320f809 jalr t9
--
25bc: 27bdff90 addiu sp,sp,-112
25c0: afbf006c sw ra,108(sp)
25c4: afb30068 sw s3,104(sp)
25c8: afb20064 sw s2,100(sp)
25cc: afb10060 sw s1,96(sp)
25d0: afb0005c sw s0,92(sp)
25d4: 27b00018 addiu s0,sp,24
25d8: 8f868028 lw a2,-32728(gp)
25dc: 00803821 move a3,a0
25e0: 8f9980d8 lw t9,-32552(gp)
25e4: 02002021 move a0,s0
25e8: afbc0010 sw gp,16(sp)
25ec: 24050032 li a1,50
25f0: 0320f809 jalr t9
25f4: 24c633a4 addiu a2,a2,13220
25f8: 02002021 move a0,s0
25fc: 8fbc0010 lw gp,16(sp)
2600: 8f998058 lw t9,-32680(gp)
2604: 0320f809 jalr t9
2608: 00002821 move a1,zero
260c: 8fbc0010 lw gp,16(sp)
2610: 04410009 bgez v0,2638 <rts_io_adc_get_value+0x88>
2614: 00409021 move s2,v0
2618: 8f848028 lw a0,-32728(gp)
261c: 02002821 move a1,s0
2620: 8f9980e4 lw t9,printf
2624: 0320f809 jalr t9
2628: 2484320c addiu a0,a0,12812
262c: 3c02fcfc lui v0,0xfcfc
2630: 1000001f b 26b0 <rts_io_adc_get_value+0x100>
2634: 3442ffff ori v0,v0,0xffff
2638: 8f99808c lw t9,-32628(gp)
263c: 27b3004c addiu s3,sp,76
2640: 00402021 move a0,v0
2644: 24060006 li a2,6
2648: 0320f809 jalr t9
264c: 02602821 move a1,s3
2650: 8fbc0010 lw gp,16(sp)
2654: 04410009 bgez v0,267c <rts_io_adc_get_value+0xcc>
2658: 00408821 move s1,v0
265c: 8f848028 lw a0,-32728(gp)
2660: 02002821 move a1,s0
2664: 8f9980e4 lw t9,printf
2668: 3c11fcfc lui s1,0xfcfc
266c: 248433d4 addiu a0,a0,13268
[*] Function printf used 12 times librtsio.so.1.2.1