[*] Binary protection state of gpiolib-bitfiddle
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function printf tear down of gpiolib-bitfiddle
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/gpiolib-bitfiddle @ 0x1460 */
| #include <stdint.h>
|
; (fcn) fcn.00001460 () | void fcn_00001460 () {
0x00001460 lui gp, 2 |
0x00001464 addiu gp, gp, -0x7440 |
0x00001468 addu gp, gp, t9 | gp += t9;
0x0000146c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00001470 addiu sp, sp, -0x38 |
0x00001474 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001478 lw a3, 0x2010(v0) | a3 = *((v0 + 2052));
0x0000147c lw v0, -0x7f50(gp) | v0 = *((gp - 8148));
0x00001480 lw t9, -0x7f98(gp) | t9 = sym.imp.__fprintf_chk
0x00001484 addiu a2, a2, 0x192c | a2 += str.Usage_of__s_n_nReading_data_on_pins:_n_n_t_s__a__pin_number__n_nor_backwards_compatible:_n_n_t_s__p__port_name___b__pin_number__n_nWhere_pin_number_is_a_number_from_0_to_max_number_of_GPIOs._nPort_name_is_a__b__c__d_or_v._n_nWriting_data_to_pins:_n_n_t_s__a__pin_number___s__state__n_nIt_is_also_possible_to_read_the_out_value_by_using_the__o_option_n_n_t_s__pin_number__state___sleep_seconds____usleep_microsec___n_nMultiple_assigments_are_supported_and_will_be_performed_in_a_sequential_ord;
0x00001488 lw a0, (v0) | a0 = *(v0);
0x0000148c sw ra, 0x34(sp) | *(var_34h) = ra;
0x00001490 sw gp, 0x28(sp) | *(var_28h_2) = gp;
0x00001494 sw a3, 0x24(sp) | *(var_24h_2) = a3;
0x00001498 sw a3, 0x20(sp) | *(var_20h) = a3;
0x0000149c sw a3, 0x1c(sp) | *(var_1ch_2) = a3;
0x000014a0 sw a3, 0x18(sp) | *(var_18h_2) = a3;
0x000014a4 sw a3, 0x14(sp) | *(var_14h) = a3;
0x000014a8 sw a3, 0x10(sp) | *(var_10h_2) = a3;
0x000014ac addiu a1, zero, 1 | a1 = 1;
0x000014b0 jalr t9 | t9 ();
0x000014b4 lw ra, 0x34(sp) | ra = *(var_34h);
0x000014b8 addiu sp, sp, 0x38 |
0x000014bc jr ra | return v0;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/gpiolib-bitfiddle @ 0xb10 */
| #include <stdint.h>
|
; (fcn) main () | int32_t main () {
| /* [13] -r-x section size 3200 named .text */
0x00000b10 lui gp, 2 |
0x00000b14 addiu gp, gp, -0x6af0 |
0x00000b18 addu gp, gp, t9 | gp += t9;
0x00000b1c addiu sp, sp, -0x60 |
0x00000b20 lw v1, (a1) | v1 = *(a1);
0x00000b24 sw s5, 0x4c(sp) | *(var_4ch) = s5;
0x00000b28 lw s5, -0x7f54(gp) | s5 = *((gp - 8149));
0x00000b2c sw s3, 0x44(sp) | *(var_44h) = s3;
0x00000b30 lw s3, -0x7fdc(gp) | s3 = *((gp - 8183));
0x00000b34 lw v0, (s5) | v0 = *(s5);
0x00000b38 lw t9, -0x7f80(gp) | t9 = sym.imp.getopt;
0x00000b3c sw v0, 0x34(sp) | *(var_34h) = v0;
0x00000b40 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00000b44 sw gp, 0x10(sp) | *(var_10h) = gp;
0x00000b48 sw s1, 0x3c(sp) | *(var_3ch) = s1;
0x00000b4c sw s0, 0x38(sp) | *(var_38h) = s0;
0x00000b50 sw v1, 0x2010(v0) | *((v0 + 2052)) = v1;
0x00000b54 sw ra, 0x5c(sp) | *(var_5ch) = ra;
0x00000b58 sw fp, 0x58(sp) | *(var_58h) = fp;
0x00000b5c sw s7, 0x54(sp) | *(var_54h) = s7;
0x00000b60 sw s6, 0x50(sp) | *(var_50h) = s6;
0x00000b64 sw s4, 0x48(sp) | *(var_48h) = s4;
0x00000b68 sw s2, 0x40(sp) | *(var_40h) = s2;
0x00000b6c addiu a2, s3, 0x1c18 | a2 = s3 + str.a:b:hn:p:os:t;
0x00000b70 move s1, a1 | s1 = a1;
0x00000b74 move s0, a0 | s0 = a0;
0x00000b78 jalr t9 | t9 ();
0x00000b7c addiu v1, zero, -1 | v1 = -1;
0x00000b80 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 == v1) {
0x00000b84 beq v0, v1, 0x1048 | goto label_7;
| }
0x00000b88 lw v1, -0x7fdc(gp) | v1 = *((gp - 8183));
0x00000b8c lw s2, -0x7fdc(gp) | s2 = *((gp - 8183));
0x00000b90 sw v1, 0x28(sp) | *(var_28h) = v1;
0x00000b94 addiu v1, zero, -1 | v1 = -1;
0x00000b98 sw v1, 0x20(sp) | *(var_20h) = v1;
0x00000b9c sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x00000ba0 lw v1, -0x7fdc(gp) | v1 = *((gp - 8183));
0x00000ba4 move s6, s0 | s6 = s0;
0x00000ba8 sw zero, 0x24(sp) | *(var_24h) = 0;
0x00000bac move fp, zero | fp = 0;
0x00000bb0 addiu s4, zero, -1 | s4 = -1;
0x00000bb4 addiu s2, s2, 0x1c90 | s2 += 0x1c90;
0x00000bb8 addiu s7, v1, 0x13d8 | s7 = v1 + fcn.000013d8;
| do {
0x00000bbc addiu v0, v0, -0x3f | v0 += -0x3f;
0x00000bc0 sltiu v1, v0, 0x36 | v1 = (v0 < 0x36) ? 1 : 0;
0x00000bc4 sll v0, v0, 2 | v0 <<= 2;
| if (v1 != 0) {
0x00000bc8 beqz v1, 0xc48 |
0x00000bcc lwx v0, v0(s2) | __asm ("lwx v0, v0(s2)");
0x00000bd0 addu v0, v0, gp | v0 += gp;
0x00000bd4 jr v0 | v0 ();
0x00000bd8 nop |
| }
| label_6:
0x00000c48 lw t9, -0x7f80(gp) | t9 = sym.imp.getopt;
0x00000c4c addiu a2, s3, 0x1c18 | a2 = s3 + str.a:b:hn:p:os:t;
0x00000c50 move a1, s1 | a1 = s1;
0x00000c54 move a0, s0 | a0 = s0;
0x00000c58 jalr t9 | t9 ();
0x00000c5c addiu v1, zero, -1 | v1 = -1;
0x00000c60 lw gp, 0x10(sp) | gp = *(var_10h);
0x00000c64 bne v0, v1, 0xbbc |
| } while (v0 != v1);
| if (s4 == v0) {
0x00000c68 beq s4, v0, 0x100c | goto label_8;
| }
0x00000c6c nop |
| label_2:
0x00000c70 lw v0, 0x20(sp) | v0 = *(var_20h);
0x00000c74 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x00000c78 lw a3, 0x24(sp) | a3 = *(var_24h);
0x00000c7c slt a2, zero, v0 | a2 = (0 < v0) ? 1 : 0;
0x00000c80 srl a1, v0, 0x1f | a1 = v0 >> 0x1f;
0x00000c84 addiu t9, t9, 0x1260 | t9 += fcn.00001260;
0x00000c88 move a0, s4 | a0 = s4;
0x00000c8c bal 0x1260 | fcn_00001260 ();
0x00000c90 lw gp, 0x10(sp) | gp = *(var_10h);
| label_5:
0x00000c94 lw t9, -0x7f84(gp) | t9 = sym.imp.putchar;
| label_4:
0x00000c98 addiu a0, zero, 0xa | a0 = 0xa;
0x00000c9c jalr t9 | t9 ();
0x00000ca0 lw gp, 0x10(sp) | gp = *(var_10h);
0x00000ca4 lw fp, -0x7fdc(gp) | fp = *((gp - 8183));
| label_3:
0x00000ca8 lw s2, -0x7f5c(gp) | s2 = *((gp - 8151));
0x00000cac addiu v0, fp, 0x14c0 | v0 = fp + fcn.000014c0;
0x00000cb0 sw v0, 0x24(sp) | *(var_24h) = v0;
0x00000cb4 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00000cb8 lw s6, -0x7fdc(gp) | s6 = *((gp - 8183));
0x00000cbc addiu v0, v0, 0x1260 | v0 += fcn.00001260;
0x00000cc0 lw a3, (s2) | a3 = *(s2);
0x00000cc4 lw s3, -0x7fdc(gp) | s3 = *((gp - 8183));
0x00000cc8 lw s7, -0x7fdc(gp) | s7 = *((gp - 8183));
0x00000ccc addiu s6, s6, 0x1c44 | s6 += str.usleep;
0x00000cd0 sw v0, 0x28(sp) | *(var_28h) = v0;
| label_0:
0x00000cd4 slt v0, a3, s0 | v0 = (a3 < s0) ? 1 : 0;
| if (v0 == 0) {
0x00000cd8 beqz v0, 0xd74 | goto label_9;
| }
0x00000cdc nop |
| do {
0x00000ce0 sll a3, a3, 2 | a3 <<= 2;
0x00000ce4 lw t9, -0x7fa0(gp) | t9 = sym.imp.strncmp;
0x00000ce8 lwx fp, a3(s1) | __asm ("lwx fp, a3(s1)");
0x00000cec addiu a2, zero, 6 | a2 = 6;
0x00000cf0 addiu a1, s3, 0x1c3c | a1 = s3 + str.sleep;
0x00000cf4 move a0, fp | a0 = fp;
0x00000cf8 jalr t9 | t9 ();
0x00000cfc lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 == 0) {
0x00000d00 beqz v0, 0xf50 | goto label_10;
| }
0x00000d04 lw t9, -0x7fa0(gp) | t9 = sym.imp.strncmp;
0x00000d08 addiu a2, zero, 7 | a2 = 7;
0x00000d0c move a1, s6 | a1 = s6;
0x00000d10 move a0, fp | a0 = fp;
0x00000d14 jalr t9 | t9 ();
0x00000d18 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 == 0) {
0x00000d1c beqz v0, 0xf88 | goto label_11;
| }
0x00000d20 lw t9, -0x7fa0(gp) | t9 = sym.imp.strncmp;
0x00000d24 addiu a2, zero, 3 | a2 = 3;
0x00000d28 addiu a1, s7, 0x1c4c | a1 = s7 + 0x1c4c;
0x00000d2c move a0, fp | a0 = fp;
0x00000d30 jalr t9 | t9 ();
0x00000d34 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 != 0) {
0x00000d38 bnez v0, 0xe34 | goto label_12;
| }
0x00000d3c lw v0, -0x7f50(gp) | v0 = *((gp - 8148));
0x00000d40 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00000d44 lw t9, -0x7f64(gp) | t9 = sym.imp.fwrite;
0x00000d48 lw a3, (v0) | a3 = *(v0);
0x00000d4c addiu a2, zero, 0x12 | a2 = 0x12;
0x00000d50 addiu a1, zero, 1 | a1 = 1;
0x00000d54 addiu a0, a0, 0x1c50 | a0 += str.pwm_not_supported_n;
0x00000d58 jalr t9 | t9 ();
0x00000d5c lw a3, (s2) | a3 = *(s2);
0x00000d60 lw gp, 0x10(sp) | gp = *(var_10h);
0x00000d64 addiu a3, a3, 1 | a3++;
0x00000d68 slt v0, a3, s0 | v0 = (a3 < s0) ? 1 : 0;
0x00000d6c sw a3, (s2) | *(s2) = a3;
0x00000d70 bnez v0, 0xce0 |
| } while (v0 != 0);
| label_9:
0x00000d74 lw a0, 0x34(sp) | a0 = *(var_34h);
0x00000d78 lw v1, (s5) | v1 = *(s5);
0x00000d7c move v0, zero | v0 = 0;
| if (a0 != v1) {
0x00000d80 bne a0, v1, 0x10dc | goto label_13;
| }
0x00000d84 lw ra, 0x5c(sp) | ra = *(var_5ch);
0x00000d88 lw fp, 0x58(sp) | fp = *(var_58h);
0x00000d8c lw s7, 0x54(sp) | s7 = *(var_54h);
0x00000d90 lw s6, 0x50(sp) | s6 = *(var_50h);
0x00000d94 lw s5, 0x4c(sp) | s5 = *(var_4ch);
0x00000d98 lw s4, 0x48(sp) | s4 = *(var_48h);
0x00000d9c lw s3, 0x44(sp) | s3 = *(var_44h);
0x00000da0 lw s2, 0x40(sp) | s2 = *(var_40h);
0x00000da4 lw s1, 0x3c(sp) | s1 = *(var_3ch);
0x00000da8 lw s0, 0x38(sp) | s0 = *(var_38h);
0x00000dac addiu sp, sp, 0x60 |
0x00000db0 jr ra | return v0;
| label_12:
0x00000e34 lw t9, 0x24(sp) | t9 = *(var_24h);
0x00000e38 addiu a1, sp, 0x30 | a1 = sp + 0x30;
0x00000e3c move a0, fp | a0 = fp;
0x00000e40 sw fp, 0x30(sp) | *(var_30h) = fp;
0x00000e44 jalr t9 | t9 ();
0x00000e48 lw gp, 0x10(sp) | gp = *(var_10h);
0x00000e4c lw t9, -0x7fb0(gp) | t9 = sym.imp.__ctype_b_loc;
0x00000e50 move s4, v0 | s4 = v0;
0x00000e54 jalr t9 | t9 ();
0x00000e58 lw a1, (v0) | a1 = *(v0);
0x00000e5c lw gp, 0x10(sp) | gp = *(var_10h);
0x00000e60 move t0, fp | t0 = fp;
0x00000e64 move v1, zero | v1 = 0;
0x00000e68 b 0xe78 |
| while (v0 == 0) {
0x00000e6c addiu t0, t0, 1 | t0++;
| if (a0 == 0) {
0x00000e70 beqz a0, 0x10a4 | goto label_14;
| }
0x00000e74 addiu v1, v1, 1 | v1++;
0x00000e78 lb a0, (t0) | a0 = *(t0);
0x00000e7c sll v0, a0, 1 | v0 = a0 << 1;
0x00000e80 addu v0, a1, v0 | v0 = a1 + v0;
0x00000e84 lhu v0, (v0) | v0 = *(v0);
0x00000e88 andi v0, v0, 0x800 | v0 &= 0x800;
0x00000e8c lw t9, -0x7fa8(gp) | t9 = sym.imp.strtol;
0x00000e90 beqz v0, 0xe6c |
| }
0x00000e94 move a0, t0 | a0 = t0;
0x00000e98 sw v1, 0x20(sp) | *(var_20h) = v1;
0x00000e9c move a1, zero | a1 = 0;
0x00000ea0 sw t0, 0x1c(sp) | *(var_1ch) = t0;
0x00000ea4 addiu a2, zero, 0xa | a2 = 0xa;
0x00000ea8 jalr t9 | t9 ();
0x00000eac lw t0, 0x1c(sp) | t0 = *(var_1ch);
0x00000eb0 addiu a1, zero, 0x3d | a1 = 0x3d;
0x00000eb4 lw gp, 0x10(sp) | gp = *(var_10h);
0x00000eb8 lb a0, (t0) | a0 = *(t0);
0x00000ebc move t0, v0 | t0 = v0;
0x00000ec0 lw v1, 0x20(sp) | v1 = *(var_20h);
| if (a0 == a1) {
0x00000ec4 beq a0, a1, 0xef4 | goto label_15;
| }
0x00000ec8 lw v0, -0x7f50(gp) | v0 = *((gp - 8148));
| if (a0 == 0) {
0x00000ecc beqz a0, 0x10a8 | goto label_16;
| }
0x00000ed0 addiu a0, zero, 0x3d | a0 = 0x3d;
0x00000ed4 b 0xee0 |
| while (v0 != a0) {
0x00000ed8 lw v0, -0x7f50(gp) | v0 = *((gp - 8148));
| if (v0 == 0) {
0x00000edc beqz v0, 0x10a8 | goto label_16;
| }
0x00000ee0 addiu v1, v1, 1 | v1++;
0x00000ee4 addu v0, fp, v1 | v0 = fp + v1;
0x00000ee8 lb v0, (v0) | v0 = *(v0);
0x00000eec bne v0, a0, 0xed8 |
| }
0x00000ef0 nop |
| label_15:
0x00000ef4 addiu v1, v1, 1 | v1++;
0x00000ef8 addu a0, fp, v1 | a0 = fp + v1;
0x00000efc lb v0, (a0) | v0 = *(a0);
0x00000f00 lw t9, -0x7fa8(gp) | t9 = sym.imp.strtol;
| if (v0 == 0) {
0x00000f04 beqz v0, 0x10a4 | goto label_14;
| }
0x00000f08 sw t0, 0x1c(sp) | *(var_1ch) = t0;
0x00000f0c addiu a2, zero, 0xa | a2 = 0xa;
0x00000f10 move a1, zero | a1 = 0;
0x00000f14 jalr t9 | t9 ();
0x00000f18 lw t0, 0x1c(sp) | t0 = *(var_1ch);
| if (s4 < 0) {
0x00000f1c bltz s4, 0xfa8 | goto label_17;
| }
0x00000f20 sll a0, s4, 5 | a0 = s4 << 5;
0x00000f24 lw t9, 0x28(sp) | t9 = *(var_28h);
0x00000f28 move a3, zero | a3 = 0;
0x00000f2c move a2, v0 | a2 = v0;
0x00000f30 move a1, zero | a1 = 0;
0x00000f34 addu a0, a0, t0 | a0 += t0;
0x00000f38 jalr t9 | t9 ();
0x00000f3c lw gp, 0x10(sp) | gp = *(var_10h);
| label_1:
0x00000f40 lw a3, (s2) | a3 = *(s2);
0x00000f44 addiu a3, a3, 1 | a3++;
0x00000f48 sw a3, (s2) | *(s2) = a3;
0x00000f4c b 0xcd4 | goto label_0;
| label_10:
0x00000f50 lw t9, -0x7fa8(gp) | t9 = sym.imp.strtol;
0x00000f54 addiu a2, zero, 0xa | a2 = 0xa;
0x00000f58 move a1, zero | a1 = 0;
0x00000f5c addiu a0, fp, 6 | a0 = fp + 6;
0x00000f60 jalr t9 | t9 ();
0x00000f64 lw gp, 0x10(sp) | gp = *(var_10h);
0x00000f68 lw t9, -0x7f58(gp) | t9 = sym.imp.sleep;
| do {
0x00000f6c move a0, v0 | a0 = v0;
0x00000f70 jalr t9 | t9 ();
0x00000f74 lw a3, (s2) | a3 = *(s2);
0x00000f78 lw gp, 0x10(sp) | gp = *(var_10h);
0x00000f7c addiu a3, a3, 1 | a3++;
0x00000f80 sw a3, (s2) | *(s2) = a3;
0x00000f84 b 0xcd4 | goto label_0;
| label_11:
0x00000f88 lw t9, -0x7fa8(gp) | t9 = sym.imp.strtol;
0x00000f8c addiu a2, zero, 0xa | a2 = 0xa;
0x00000f90 move a1, zero | a1 = 0;
0x00000f94 addiu a0, fp, 7 | a0 = fp + 7;
0x00000f98 jalr t9 | t9 ();
0x00000f9c lw gp, 0x10(sp) | gp = *(var_10h);
0x00000fa0 lw t9, -0x7f6c(gp) | t9 = sym.imp.usleep;
0x00000fa4 b 0xf6c |
| } while (1);
| label_17:
0x00000fa8 lw t9, 0x28(sp) | t9 = *(var_28h);
0x00000fac move a3, zero | a3 = 0;
0x00000fb0 move a2, v0 | a2 = v0;
0x00000fb4 move a1, zero | a1 = 0;
0x00000fb8 move a0, t0 | a0 = t0;
0x00000fbc jalr t9 | t9 ();
0x00000fc0 lw gp, 0x10(sp) | gp = *(var_10h);
0x00000fc4 b 0xf40 | goto label_1;
| label_8:
0x0000100c lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
| if (fp != 0) {
0x00001010 beqz fp, 0x104c |
0x00001014 addiu a1, sp, 0x30 | a1 = sp + 0x30;
0x00001018 move a0, fp | a0 = fp;
0x0000101c addiu t9, t9, 0x14c0 | t9 += fcn.000014c0;
0x00001020 sw fp, 0x30(sp) | *(var_30h) = fp;
0x00001024 bal 0x14c0 | fcn_000014c0 ();
0x00001028 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 < 0) {
0x0000102c bltz v0, 0x104c | goto label_18;
| }
0x00001030 lw v1, 0x1c(sp) | v1 = *(var_1ch);
0x00001034 lw t9, -0x7fd4(gp) | t9 = sym.dump_port;
| if (v1 < 0) {
0x00001038 bltz v1, 0x1094 | goto label_19;
| }
0x0000103c sll v0, v0, 5 | v0 <<= 5;
0x00001040 addu s4, v0, v1 | s4 = v0 + v1;
0x00001044 b 0xc70 | goto label_2;
| label_7:
0x00001048 move s6, s0 | s6 = s0;
| }
| label_18:
0x0000104c addiu v0, zero, 1 | v0 = 1;
0x00001050 lw fp, -0x7fdc(gp) | fp = *((gp - 8183));
| if (s6 != v0) {
0x00001054 bne s6, v0, 0xca8 | goto label_3;
| }
0x00001058 lw s4, -0x7fd4(gp) | s4 = sym.dump_port;
0x0000105c move s2, zero | s2 = 0;
0x00001060 addiu s3, zero, 4 | s3 = 4;
| do {
0x00001064 move t9, s4 | t9 = s4;
0x00001068 move a0, s2 | a0 = s2;
0x0000106c bal 0x15d0 | sym_dump_port ();
0x00001070 lw gp, 0x10(sp) | gp = *(var_10h);
0x00001074 addiu a0, zero, 0x20 | a0 = 0x20;
0x00001078 lw t9, -0x7f84(gp) | t9 = sym.imp.putchar;
0x0000107c addiu s2, s2, 1 | s2++;
0x00001080 jalr t9 | t9 ();
0x00001084 lw gp, 0x10(sp) | gp = *(var_10h);
0x00001088 bne s2, s3, 0x1064 |
| } while (s2 != s3);
0x0000108c lw t9, -0x7f84(gp) | t9 = sym.imp.putchar;
0x00001090 b 0xc98 | goto label_4;
| label_19:
0x00001094 move a0, v0 | a0 = v0;
0x00001098 bal 0x15d0 | sym_dump_port ();
0x0000109c lw gp, 0x10(sp) | gp = *(var_10h);
0x000010a0 b 0xc94 | goto label_5;
| label_14:
0x000010a4 lw v0, -0x7f50(gp) | v0 = *((gp - 8148));
| label_16:
0x000010a8 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000010ac lw t9, -0x7f98(gp) | t9 = sym.imp.__fprintf_chk
0x000010b0 lw a0, (v0) | a0 = *(v0);
0x000010b4 move a3, fp | a3 = fp;
0x000010b8 addiu a2, a2, 0x1c64 | a2 += str.Command_parse_error__s_n;
0x000010bc addiu a1, zero, 1 | a1 = 1;
0x000010c0 jalr t9 | t9 ();
0x000010c4 lw gp, 0x10(sp) | gp = *(var_10h);
0x000010c8 lw t9, -0x7f78(gp) | t9 = sym.imp.exit;
0x000010cc addiu a0, zero, 1 | a0 = 1;
0x000010d0 jalr t9 | t9 ();
0x000010d4 addiu s4, zero, -1 | s4 = -1;
0x000010d8 b 0xc48 | goto label_6;
| label_13:
0x000010dc lw t9, -0x7f60(gp) | t9 = sym.imp.__stack_chk_fail;
0x000010e0 jalr t9 | t9 ();
0x000010e4 nop |
0x000010e8 nop |
0x000010ec nop |
| }
[*] Function printf used 3 times gpiolib-bitfiddle