Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/assembly/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Assembly 设置断点后无法访问函数_Assembly - Fatal编程技术网

Assembly 设置断点后无法访问函数

Assembly 设置断点后无法访问函数,assembly,Assembly,我有以下问题: 我尝试使用IDA PRO和Ollydbg分析一段代码。在IDA PRO中,我在函数图图像上看到了函数sub_401985,我决定跳转到该函数,并在ollydbg中对其进行分析。 在ollydbg中,我用鼠标右键单击,在00401985上设置一个Toogle,然后按Run按钮(F9),但ollydbg一直运行到结束并终止 有人能解释一下为什么会这样吗 编辑:00401985处的函数中还有其他子函数,由于进程终止,我无法分析这些子函数。可能是因为没有调用函数sub\u 401985。

我有以下问题:

我尝试使用IDA PRO和Ollydbg分析一段代码。在IDA PRO中,我在函数图图像上看到了函数sub_401985,我决定跳转到该函数,并在ollydbg中对其进行分析。 在ollydbg中,我用鼠标右键单击,在00401985上设置一个Toogle,然后按Run按钮(F9),但ollydbg一直运行到结束并终止

有人能解释一下为什么会这样吗


编辑:00401985处的函数中还有其他子函数,由于进程终止,我无法分析这些子函数。

可能是因为没有调用函数
sub\u 401985
。IDA调用图仅仅意味着它可以被调用。您必须查看调用图中较高的函数,以确定调用它所需的环境。