[*] Binary protection state of libaudioProcess.so
No RELRO No Canary found NX disabled DSO No RPATH No RUNPATH Symbols
[*] Function fprintf tear down of libaudioProcess.so
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/6225984-11075644.jffs2_new_extract/lib/libaudioProcess.so @ 0x46954 */
| #include <stdint.h>
|
; (fcn) method.webrtc::FileWrapperImpl.WriteText_char_const__..._ () | void method_webrtc::FileWrapperImpl_WriteText_char_const_ () {
| /* webrtc::FileWrapperImpl::WriteText(char const*, ...) */
0x00046954 lui gp, 5 |
0x00046958 addiu gp, gp, 0x30ac |
0x0004695c addu gp, gp, t9 | gp += t9;
0x00046960 addiu sp, sp, -0x38 |
0x00046964 sw s0, 0x28(sp) | *(var_28h) = s0;
0x00046968 lw s0, 8(a0) | s0 = *((a0 + 2));
0x0004696c sw a2, 0x40(sp) | *(arg_40h) = a2;
0x00046970 sw a3, 0x44(sp) | *(arg_44h) = a3;
0x00046974 lw v0, (s0) | v0 = *(s0);
0x00046978 sw gp, 0x10(sp) | *(var_10h) = gp;
0x0004697c sw s2, 0x30(sp) | *(var_30h) = s2;
0x00046980 lw t9, 8(v0) | t9 = *((v0 + 2));
0x00046984 sw s1, 0x2c(sp) | *(var_2ch) = s1;
0x00046988 sw ra, 0x34(sp) | *(var_34h) = ra;
0x0004698c move s1, a0 | s1 = a0;
0x00046990 move s2, a1 | s2 = a1;
0x00046994 move a0, s0 | a0 = s0;
0x00046998 jalr t9 | t9 ();
0x0004699c lw gp, 0x10(sp) | gp = *(var_10h);
| if (s2 == 0) {
0x000469a0 beqz s2, 0x46a10 | goto label_0;
| }
0x000469a4 lbu v0, 0x13(s1) | v0 = *((s1 + 19));
| if (v0 != 0) {
0x000469a8 bnez v0, 0x46a10 | goto label_0;
| }
0x000469ac nop |
0x000469b0 lw a0, 0xc(s1) | a0 = *((s1 + 3));
0x000469b4 lw t9, -0x73bc(gp) | t9 = sym.imp.vfprintf
| if (a0 == 0) {
0x000469b8 beqz a0, 0x46a10 | goto label_0;
| }
0x000469bc addiu a2, sp, 0x40 | a2 = sp + 0x40;
0x000469c0 sw a2, 0x18(sp) | *(var_18h) = a2;
0x000469c4 move a1, s2 | a1 = s2;
0x000469c8 jalr t9 | t9 ();
0x000469cc lw gp, 0x10(sp) | gp = *(var_10h);
0x000469d0 bltz v0, 0x46a04 |
| while (1) {
0x000469d4 lw v1, (s0) | v1 = *(s0);
0x000469d8 move a0, s0 | a0 = s0;
0x000469dc lw t9, 0xc(v1) | t9 = *((v1 + 3));
0x000469e0 sw v0, 0x20(sp) | *(var_20h) = v0;
0x000469e4 jalr t9 | t9 ();
0x000469e8 lw ra, 0x34(sp) | ra = *(var_34h);
0x000469ec lw v0, 0x20(sp) | v0 = *(var_20h);
0x000469f0 lw s2, 0x30(sp) | s2 = *(var_30h);
0x000469f4 lw s1, 0x2c(sp) | s1 = *(var_2ch);
0x000469f8 lw s0, 0x28(sp) | s0 = *(var_28h);
0x000469fc addiu sp, sp, 0x38 |
0x00046a00 jr ra | return v0;
0x00046a04 lw t9, -0x7740(gp) | t9 = *(gp);
0x00046a08 move a0, s1 | a0 = s1;
0x00046a0c jalr t9 | t9 ();
| label_0:
0x00046a10 addiu v0, zero, -1 | v0 = -1;
0x00046a14 b 0x469d4 |
| }
| }
[*] Function fprintf used 2 times libaudioProcess.so