Skip to content

Commit 8a1ad3e

Browse files
committed
Replace exception with warning
1 parent 96551f6 commit 8a1ad3e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

qiling/os/posix/syscall/prctl.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ def ql_syscall_arch_prctl(ql: Qiling, code: int, addr: int):
2020
}
2121

2222
if code not in handlers:
23-
raise NotImplementedError(f'prctl code {code:#x} not implemented')
24-
25-
handlers[code]()
23+
ql.log.warning(f'prctl code {code:#x} not implemented')
24+
else:
25+
handlers[code]()
2626

2727
return 0
2828

0 commit comments

Comments
 (0)