[*] Binary protection state of libzbar.so.0.2.0

  
  	No RELRO       No Canary found   NX disabled  DSO          No RPATH     No RUNPATH   No Symbols


[*] Function strcat tear down of libzbar.so.0.2.0

    ; assembly                           | /* r2dec pseudo code output */
                                         | /* /logs/firmware/unblob_extracted/firmware_extract/2097216-5451840.squashfs_v4_le_extract/thirdlib/libzbar.so.0.2.0 @ 0x565c */
                                         | #include <stdint.h>
                                         |  
    ; (fcn) fcn.0000565c ()              | void fcn_0000565c () {
    0x0000565c lui gp, 3                 |     
    0x00005660 addiu gp, gp, 0x7b24      |     
    0x00005664 addu gp, gp, t9           |     gp += t9;
    0x00005668 lw t9, -0x7d30(gp)        |     t9 = *((gp - 8012));
    0x0000566c addiu sp, sp, -0x28       |     
    0x00005670 addiu a1, zero, 0x10      |     a1 = 0x10;
    0x00005674 sw ra, 0x24(sp)           |     *(var_24h_2) = ra;
    0x00005678 sw gp, 0x10(sp)           |     *(var_10h_2) = gp;
    0x0000567c sw s1, 0x20(sp)           |     *(var_20h_2) = s1;
    0x00005680 sw s0, 0x1c(sp)           |     *(var_1ch) = s0;
    0x00005684 addiu a0, zero, 1         |     a0 = 1;
    0x00005688 jalr t9                   |     t9 ();
    0x0000568c lw gp, 0x10(sp)           |     gp = *(var_10h_2);
    0x00005690 lw t9, -0x7e30(gp)        |     t9 = *((gp - 8076));
    0x00005694 lw a0, -0x7fcc(gp)        |     a0 = *((gp - 8179));
    0x00005698 move s0, v0               |     s0 = v0;
    0x0000569c jalr t9                   |     t9 ();
    0x000056a0 lw gp, 0x10(sp)           |     gp = *(var_10h_2);
    0x000056a4 lw s1, (s0)               |     s1 = *(s0);
    0x000056a8 lw a0, -0x7fcc(gp)        |     a0 = *((gp - 8179));
    0x000056ac lw t9, -0x7de8(gp)        |     t9 = *((gp - 8058));
    0x000056b0 addiu s1, s1, 1           |     s1++;
    0x000056b4 sw s1, (s0)               |     *(s0) = s1;
    0x000056b8 jalr t9                   |     t9 ();
    0x000056bc lw gp, 0x10(sp)           |     gp = *(var_10h_2);
                                         |     if (s1 >= 0) {
    0x000056c0 bltz s1, 0x56dc           |         
    0x000056c4 lw ra, 0x24(sp)           |         ra = *(var_24h_2);
    0x000056c8 move v0, s0               |         v0 = s0;
    0x000056cc lw s1, 0x20(sp)           |         s1 = *(var_20h_2);
    0x000056d0 lw s0, 0x1c(sp)           |         s0 = *(var_1ch);
    0x000056d4 addiu sp, sp, 0x28        |         
    0x000056d8 jr ra                     |         return v0;
                                         |     }
    0x000056dc lw t9, -0x7fd8(gp)        |     t9 = *((gp - 8182));
    0x000056e0 addiu t9, t9, 0x2290      |     t9 += entry0;
    0x000056e4 bal 0x2290                |     entry0 ();
    0x000056e8 nop                       |     
                                         | }
    ; assembly                           | /* r2dec pseudo code output */
                                         | /* /logs/firmware/unblob_extracted/firmware_extract/2097216-5451840.squashfs_v4_le_extract/thirdlib/libzbar.so.0.2.0 @ 0x5944 */
                                         | #include <stdint.h>
                                         |  
    ; (fcn) fcn.00005944 ()              | void fcn_00005944 () {
    0x00005944 lui gp, 3                 |     
    0x00005948 addiu gp, gp, 0x783c      |     
    0x0000594c addu gp, gp, t9           |     gp += t9;
    0x00005950 addiu sp, sp, -0x30       |     
    0x00005954 sw s0, 0x1c(sp)           |     *(var_2ch_2) = s0;
    0x00005958 lw s0, 8(a0)              |     s0 = *((a0 + 2));
    0x0000595c sw gp, 0x10(sp)           |     *(var_20h_2) = gp;
    0x00005960 sw s3, 0x28(sp)           |     *(var_28h) = s3;
    0x00005964 sw ra, 0x2c(sp)           |     *(var_2ch) = ra;
    0x00005968 sw s2, 0x24(sp)           |     *((sp + 9)) = s2;
    0x0000596c sw s1, 0x20(sp)           |     *((sp + 8)) = s1;
    0x00005970 move s3, a0               |     s3 = a0;
                                         |     if (s0 == 0) {
    0x00005974 beqz s0, 0x59cc           |         goto label_0;
                                         |     }
                                         |     do {
    0x00005978 lw t9, -0x7e30(gp)        |         t9 = *((gp - 8076));
    0x0000597c lw a0, -0x7fcc(gp)        |         a0 = *((gp - 8179));
    0x00005980 lw s2, 0x20(s0)           |         s2 = *((s0 + 8));
    0x00005984 sw zero, 0x20(s0)         |         *((s0 + 8)) = 0;
    0x00005988 jalr t9                   |         t9 ();
    0x0000598c lw gp, 0x10(sp)           |         gp = *(var_20h_2);
    0x00005990 lw s1, 0x1c(s0)           |         s1 = *((s0 + 7));
    0x00005994 lw a0, -0x7fcc(gp)        |         a0 = *((gp - 8179));
    0x00005998 lw t9, -0x7de8(gp)        |         t9 = *((gp - 8058));
    0x0000599c addiu s1, s1, -1          |         s1 += -1;
    0x000059a0 sw s1, 0x1c(s0)           |         *((s0 + 7)) = s1;
    0x000059a4 jalr t9                   |         t9 ();
    0x000059a8 lw gp, 0x10(sp)           |         gp = *(var_20h_2);
                                         |         if (s1 < 0) {
    0x000059ac bltz s1, 0x59f4           |             goto label_1;
                                         |         }
    0x000059b0 lw t9, -0x7fc8(gp)        |         t9 = *((gp - 8178));
                                         |         if (s1 == 0) {
    0x000059b4 bnez s1, 0x59c4           |             
    0x000059b8 move a0, s0               |             a0 = s0;
    0x000059bc bal 0x580c                |             fcn_0000580c ();
    0x000059c0 lw gp, 0x10(sp)           |             gp = *(var_20h_2);
                                         |         }
    0x000059c4 move s0, s2               |         s0 = s2;
    0x000059c8 bnez s2, 0x5978           |         
                                         |     } while (s2 != 0);
                                         | label_0:
    0x000059cc sw zero, 8(s3)            |     *((s3 + 2)) = 0;
    0x000059d0 lw ra, 0x2c(sp)           |     ra = *(var_2ch);
    0x000059d4 lw s2, 0x24(sp)           |     s2 = *((sp + 9));
    0x000059d8 lw s1, 0x20(sp)           |     s1 = *((sp + 8));
    0x000059dc lw s0, 0x1c(sp)           |     s0 = *(var_2ch_2);
    0x000059e0 move a0, s3               |     a0 = s3;
    0x000059e4 lw t9, -0x7e9c(gp)        |     t9 = *((gp - 8103));
    0x000059e8 lw s3, 0x28(sp)           |     s3 = *(var_28h);
    0x000059ec addiu sp, sp, 0x30        |     
    0x000059f0 jr t9                     |     t9 ();
                                         | label_1:
    0x000059f4 lw t9, -0x7fd8(gp)        |     t9 = *((gp - 8182));
    0x000059f8 addiu t9, t9, 0x2290      |     t9 += entry0;
    0x000059fc bal 0x2290                |     entry0 ();
    0x00005a00 nop                       |     
                                         | }
    ; assembly                           | /* r2dec pseudo code output */
                                         | /* /logs/firmware/unblob_extracted/firmware_extract/2097216-5451840.squashfs_v4_le_extract/thirdlib/libzbar.so.0.2.0 @ 0x589c */
                                         | #include <stdint.h>
                                         |  
    ; (fcn) sym.zbar_symbol_ref ()       | void zbar_symbol_ref () {
    0x0000589c lui gp, 3                 |     
    0x000058a0 addiu gp, gp, 0x78e4      |     
    0x000058a4 addu gp, gp, t9           |     gp += t9;
    0x000058a8 addiu sp, sp, -0x28       |     
    0x000058ac lw t9, -0x7e30(gp)        |     t9 = *((gp - 8076));
    0x000058b0 sw s1, 0x1c(sp)           |     *(var_1ch) = s1;
    0x000058b4 move s1, a0               |     s1 = a0;
    0x000058b8 lw a0, -0x7fcc(gp)        |     a0 = *((gp - 8179));
    0x000058bc sw gp, 0x10(sp)           |     *(var_10h) = gp;
    0x000058c0 sw ra, 0x24(sp)           |     *(var_24h) = ra;
    0x000058c4 sw s2, 0x20(sp)           |     *(var_20h) = s2;
    0x000058c8 sw s0, 0x18(sp)           |     *(var_18h) = s0;
    0x000058cc move s2, a1               |     s2 = a1;
    0x000058d0 jalr t9                   |     t9 ();
    0x000058d4 lw gp, 0x10(sp)           |     gp = *(var_10h);
    0x000058d8 lw s0, 0x1c(s1)           |     s0 = *((s1 + 7));
    0x000058dc lw a0, -0x7fcc(gp)        |     a0 = *((gp - 8179));
    0x000058e0 lw t9, -0x7de8(gp)        |     t9 = *((gp - 8058));
    0x000058e4 addu s0, s2, s0           |     s0 = s2 + s0;
    0x000058e8 sw s0, 0x1c(s1)           |     *((s1 + 7)) = s0;
    0x000058ec jalr t9                   |     t9 ();
    0x000058f0 lw gp, 0x10(sp)           |     gp = *(var_10h);
                                         |     if (s0 >= 0) {
    0x000058f4 bltz s0, 0x5934           |         
    0x000058f8 lw ra, 0x24(sp)           |         ra = *(var_24h);
                                         |         if (s0 == 0) {
    0x000058fc bnez s0, 0x5908           |             
    0x00005900 lw s2, 0x20(sp)           |             s2 = *(var_20h);
                                         |             if (s2 <= 0) {
    0x00005904 blez s2, 0x591c           |                 goto label_0;
                                         |             }
                                         |         }
    0x00005908 lw s2, 0x20(sp)           |         s2 = *(var_20h);
    0x0000590c lw s1, 0x1c(sp)           |         s1 = *(var_1ch);
    0x00005910 lw s0, 0x18(sp)           |         s0 = *(var_18h);
    0x00005914 addiu sp, sp, 0x28        |         
    0x00005918 jr ra                     |         return;
                                         | label_0:
    0x0000591c lw s0, 0x18(sp)           |         s0 = *(var_18h);
    0x00005920 move a0, s1               |         a0 = s1;
    0x00005924 lw t9, -0x7fc8(gp)        |         t9 = *((gp - 8178));
    0x00005928 lw s1, 0x1c(sp)           |         s1 = *(var_1ch);
    0x0000592c addiu sp, sp, 0x28        |         
    0x00005930 b 0x580c                  |         void (*0x580c)() ();
                                         |     }
    0x00005934 lw t9, -0x7fd8(gp)        |     t9 = *((gp - 8182));
    0x00005938 addiu t9, t9, 0x2290      |     t9 += entry0;
    0x0000593c bal 0x2290                |     entry0 ();
    0x00005940 nop                       |     
                                         | }
    ; assembly                               | /* r2dec pseudo code output */
                                             | /* /logs/firmware/unblob_extracted/firmware_extract/2097216-5451840.squashfs_v4_le_extract/thirdlib/libzbar.so.0.2.0 @ 0x56ec */
                                             | #include <stdint.h>
                                             |  
    ; (fcn) sym.zbar_symbol_set_ref ()       | void zbar_symbol_set_ref () {
    0x000056ec lui gp, 3                     |     
    0x000056f0 addiu gp, gp, 0x7a94          |     
    0x000056f4 addu gp, gp, t9               |     gp += t9;
    0x000056f8 addiu sp, sp, -0x30           |     
    0x000056fc lw t9, -0x7e30(gp)            |     t9 = *((gp - 8076));
    0x00005700 sw s2, 0x24(sp)               |     *(var_24h_3) = s2;
    0x00005704 move s2, a0                   |     s2 = a0;
    0x00005708 lw a0, -0x7fcc(gp)            |     a0 = *((gp - 8179));
    0x0000570c sw gp, 0x10(sp)               |     *(var_10h_3) = gp;
    0x00005710 sw ra, 0x2c(sp)               |     *(var_2ch_2) = ra;
    0x00005714 sw s1, 0x20(sp)               |     *(var_20h_3) = s1;
    0x00005718 sw s0, 0x1c(sp)               |     *(var_1ch_2) = s0;
    0x0000571c sw s3, 0x28(sp)               |     *(var_28h_2) = s3;
    0x00005720 move s1, a1                   |     s1 = a1;
    0x00005724 jalr t9                       |     t9 ();
    0x00005728 lw gp, 0x10(sp)               |     gp = *(var_10h_3);
    0x0000572c lw s0, (s2)                   |     s0 = *(s2);
    0x00005730 lw a0, -0x7fcc(gp)            |     a0 = *((gp - 8179));
    0x00005734 lw t9, -0x7de8(gp)            |     t9 = *((gp - 8058));
    0x00005738 addu s0, s1, s0               |     s0 = s1 + s0;
    0x0000573c sw s0, (s2)                   |     *(s2) = s0;
    0x00005740 jalr t9                       |     t9 ();
    0x00005744 lw gp, 0x10(sp)               |     gp = *(var_10h_3);
                                             |     if (s0 < 0) {
    0x00005748 bltz s0, 0x57fc               |         goto label_0;
                                             |     }
    0x0000574c lw ra, 0x2c(sp)               |     ra = *(var_2ch_2);
                                             |     if (s0 == 0) {
    0x00005750 bnez s0, 0x575c               |         
                                             |         if (s1 <= 0) {
    0x00005754 blez s1, 0x5774               |             goto label_1;
                                             |         }
    0x00005758 nop                           |         
                                             |     }
    0x0000575c lw s3, 0x28(sp)               |     s3 = *(var_28h_2);
    0x00005760 lw s2, 0x24(sp)               |     s2 = *(var_24h_3);
    0x00005764 lw s1, 0x20(sp)               |     s1 = *(var_20h_3);
    0x00005768 lw s0, 0x1c(sp)               |     s0 = *(var_1ch_2);
    0x0000576c addiu sp, sp, 0x30            |     
    0x00005770 jr ra                         |     return;
                                             | label_1:
    0x00005774 lw s0, 8(s2)                  |     s0 = *((s2 + 2));
                                             |     if (s0 == 0) {
    0x00005778 beqz s0, 0x57d4               |         goto label_2;
                                             |     }
    0x0000577c nop                           |     
                                             |     do {
    0x00005780 lw t9, -0x7e30(gp)            |         t9 = *((gp - 8076));
    0x00005784 lw a0, -0x7fcc(gp)            |         a0 = *((gp - 8179));
    0x00005788 lw s3, 0x20(s0)               |         s3 = *((s0 + 8));
    0x0000578c sw zero, 0x20(s0)             |         *((s0 + 8)) = 0;
    0x00005790 jalr t9                       |         t9 ();
    0x00005794 lw gp, 0x10(sp)               |         gp = *(var_10h_3);
    0x00005798 lw s1, 0x1c(s0)               |         s1 = *((s0 + 7));
    0x0000579c lw a0, -0x7fcc(gp)            |         a0 = *((gp - 8179));
    0x000057a0 lw t9, -0x7de8(gp)            |         t9 = *((gp - 8058));
    0x000057a4 addiu s1, s1, -1              |         s1 += -1;
    0x000057a8 sw s1, 0x1c(s0)               |         *((s0 + 7)) = s1;
    0x000057ac jalr t9                       |         t9 ();
    0x000057b0 lw gp, 0x10(sp)               |         gp = *(var_10h_3);
                                             |         if (s1 < 0) {
    0x000057b4 bltz s1, 0x57fc               |             goto label_0;
                                             |         }
    0x000057b8 lw t9, -0x7fc8(gp)            |         t9 = *((gp - 8178));
                                             |         if (s1 == 0) {
    0x000057bc bnez s1, 0x57cc               |             
    0x000057c0 move a0, s0                   |             a0 = s0;
    0x000057c4 bal 0x580c                    |             fcn_0000580c ();
    0x000057c8 lw gp, 0x10(sp)               |             gp = *(var_10h_3);
                                             |         }
    0x000057cc move s0, s3                   |         s0 = s3;
    0x000057d0 bnez s3, 0x5780               |         
                                             |     } while (s3 != 0);
                                             | label_2:
    0x000057d4 sw zero, 8(s2)                |     *((s2 + 2)) = 0;
    0x000057d8 lw ra, 0x2c(sp)               |     ra = *(var_2ch_2);
    0x000057dc lw s3, 0x28(sp)               |     s3 = *(var_28h_2);
    0x000057e0 lw s1, 0x20(sp)               |     s1 = *(var_20h_3);
    0x000057e4 lw s0, 0x1c(sp)               |     s0 = *(var_1ch_2);
    0x000057e8 move a0, s2                   |     a0 = s2;
    0x000057ec lw t9, -0x7e9c(gp)            |     t9 = *((gp - 8103));
    0x000057f0 lw s2, 0x24(sp)               |     s2 = *(var_24h_3);
    0x000057f4 addiu sp, sp, 0x30            |     
    0x000057f8 jr t9                         |     t9 ();
                                             | label_0:
    0x000057fc lw t9, -0x7fd8(gp)            |     t9 = *((gp - 8182));
    0x00005800 addiu t9, t9, 0x2290          |     t9 += entry0;
    0x00005804 bal 0x2290                    |     entry0 ();
    0x00005808 nop                           |     
                                             | }

[*] Function strcat used 1 times libzbar.so.0.2.0