MCPcopy Index your code
hub / github.com/qilingframework/qiling / my_brk

Method my_brk

tests/test_kernel_proxy.py:241–244  ·  view source on GitHub ↗
(ql, addr)

Source from the content-addressed store, hash-verified

239 custom_brk_called = []
240
241 def my_brk(ql, addr):
242 custom_brk_called.append(addr)
243 # return a fake address
244 return 0x700000
245
246 # register user CALL hook AFTER proxy — should override
247 ql.os.set_syscall('brk', my_brk, QL_INTERCEPT.CALL)

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected