qiling
qiling copied to clipboard
A True Instrumentable Binary Emulation Framework
***Describe the bug** A clear and concise description of what the bug is. golang time.Sleep error **Sample Code** ```golang fmt.Println("xxx") time.Sleep(time.Second * 5) fmt.Println("uuuuu") ``` ```python print(qiling.__version__) ql = Qiling(...
The following POSIX system calls are required to run basic Golang programs, but they are not implemented: - [ ] sched_getaffinity (204) - [ ] sigaltstack (131) - [ ]...
**Is your feature request related to a problem? Please describe.** Hi, I am trying to implement a custom `QlFsMappedObject` with ioctl support. Looking at the class, it seems that I...
Implement `QlArch` subclasses for different ARM core types, including relevant registers mapping: - [x] Cortex-M - [ ] Cortex-A - [ ] Cortex-R
My emulated program is using AF_UNIX socket. the path used in the program is **/var/run/dbus/socketname** and Qiling maps it to **rootfs/var/run/dbus/socketname** Even `ql.add_fs_map('/var/run/dbus/socketname', '/var/run/dbus/socketname')`, Qiling tries to connect socket **rootfs/var/run/dbus/socketname**....
***Describe the bug** A clear and concise description of what the bug is. **Sample Code** ```python ql = Qiling(self.path, self.rootfs, verbose=QL_VERBOSE.DEBUG) print(ql.mem.read(0xE88741C, 4)) print(ql.mem.read(0x174aa40, 4)) ``` **Expected behavior** 内存读值错误 ...
#### Looking for feedback! Though the outcome looks nice, I am not satisfied with current design. The code is not as elegant and the current design does not offer enough...
***Describe the bug** When using Qiling to simulate executable file, I encountered a problem where the linker was unable to link dynamic link libraries correctly, i.e. ld-linux.so was unable to...
***Describe the bug** Similar to #1442, unlink returns EPERM on failure resulting in some implementations of tar (specifically in busybox) to fail extracting. This likely due to tar trying to...
***Describe the bug** When I add ql.os.set_api('strcasecmp', pre_strcasecmp, QL_INTERCEPT.ENTER), it reports Syscall ERROR: ql_syscall_brk DEBUG: Invalid memory mapping (UC_ERR_MAP) **Sample Code** ``` ql.os.set_api('strcasecmp', pre_strcasecmp, QL_INTERCEPT.ENTER) no matter what code in...