We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 293f985 commit df3dcc9Copy full SHA for df3dcc9
tests/test_elf_ko.py
@@ -10,6 +10,8 @@
10
sys.path.append("..")
11
from qiling import Qiling
12
from qiling.const import QL_INTERCEPT, QL_VERBOSE
13
+from qiling.os.const import STRING
14
+from qiling.os.linux.fncc import linux_kernel_api
15
16
IS_FAST_TEST = 'QL_FAST_TEST' in os.environ
17
@@ -21,6 +23,9 @@ def test_demigod_m0hamed_x86(self):
21
23
22
24
checklist = {}
25
26
+ @linux_kernel_api(params={
27
+ "format": STRING
28
+ })
29
def my_printk(ql: Qiling, address: int, params):
30
ql.log.info(f'oncall printk: params = {params}')
31
0 commit comments