Files
qiling/docs/API.md
T
2020-03-27 23:23:01 +08:00

901 B

Pre-Loader settings

In pre-loader(during initialization) state, there are few options can be configured

required:

path
rootfs

required for shellcode execution only:

ostype
arch

additional options

stack_address = 0xhexaddress
stack_size = 0xhexaddress
interp_base = 0xhexaddress
mmap_start = 0xhexaddress
output = ["debug","off","disasm","dump"] // dump=(disam + debug)
log_console
log_dir = path to all the logs

Pre-Execution Settings

APIs allow users to instuments a executeable file/shellcode before executions

ql.set_callback
ql.patch
ql.root
ql.debug
ql.set_syscall
ql.set_api

Qiling's Coding Style

Some tips if you with to sent your pull request to Qiling Framework

ql.nprint("")

ql.nprint will not print anything when output="off"

ql.dprint(0,"")

ql.dprint will only print anything when output="dump" or output="debug"