qilingframework / qiling

A True Instrumentable Binary Emulation Framework

Home Page:https://qiling.io

Repository from Github https://github.comqilingframework/qilingRepository from Github https://github.comqilingframework/qiling

Default syscalls not implemented in Posix OS

ytournier opened this issue · comments

Using the Android binaries provided in the rootfs, Qiling stops because of tgkill and sigaltstack syscalls are not implemented.

The code snippet below must be added in the signal.py file which is defined for the Posix OS:

def ql_syscall_sigaltstack(ql: Qiling, ss: int, oss: int):
    return 0


def ql_syscall_tgkill(ql: Qiling, tgid: int, tid: int, sig: int):
    return 0