现在可以在 LLDB 中“catch syscall”吗?

问题描述 投票:0回答:2

之前已经有人问过这个问题了,但那是差不多8年前的事了。

我想知道现在是否可能。

lldb
2个回答
1
投票

否:

(lldb) apropos syscall
No commands found pertaining to 'syscall'. Try 'help' to see a complete list of debugger commands.

这个要求还不足以上升到任何人工作队列的首位。


0
投票

请注意,在最终实现之前,临时解决方法是尝试破坏

__sys_*()
libc 函数,例如
__sys_write()
。这将使您非常接近实际的
syscall
指令(在 amd64 上)。

© www.soinside.com 2019 - 2024. All rights reserved.