Skip to content

Commit e14ccf1

Browse files
committed
Enable passthrough on dxeapi
1 parent a845b5e commit e14ccf1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qiling/os/uefi/fncc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from qiling import Qiling
99
from qiling.const import QL_INTERCEPT
1010

11-
def dxeapi(params: Optional[Mapping[str, Any]] = None):
11+
def dxeapi(params: Optional[Mapping[str, Any]] = None, passthru: bool = False):
1212
def decorator(func):
1313
def wrapper(ql: Qiling):
1414
pc = ql.arch.regs.arch_pc
@@ -18,7 +18,7 @@ def wrapper(ql: Qiling):
1818
onenter = ql.os.user_defined_api[QL_INTERCEPT.ENTER].get(fname)
1919
onexit = ql.os.user_defined_api[QL_INTERCEPT.EXIT].get(fname)
2020

21-
return ql.os.call(pc, f, params or {}, onenter, onexit)
21+
return ql.os.call(pc, f, params or {}, onenter, onexit, passthru)
2222

2323
return wrapper
2424

0 commit comments

Comments
 (0)