I want to run (simulating) MIPS file with Qemu:
$file httpd
httpd: ELF 32-bit MSB executable, MIPS, MIPS32 version 1 (SYSV), dynamically linked, interpreter /lib/ld-uClibc.so.0, no section header
chroot
to rootfs
and then run my file:
i found oalShm_init
function into libcms_core.so
library and decompile it with ghidra
:
first httpd
file use shmget
for create shard memory and then use shamt
for give access to this space;
but Qemu error in this function and can't mapping or can't run it
how to i can resolve this problem?