【问题标题】:What does this offset represent?这个偏移量代表什么?
【发布时间】:2017-05-08 09:05:57
【问题描述】:

我有一个来自 AppVerifier 会话的托管堆栈跟踪。

STACK_TEXT:   0019c014 1f75b1f0 
carson!KapprisPrintCacheNS.SpecCache.MatchJobInt+0xd8 0019c130 1f75a067 
carson!KapprisPrintCacheNS.SpecCache.JobEvent+0x3e7 0019c2b0 1f759bf4 
kofficecontrol!DomainBoundILStubClass.IL_STUB_COMtoCLR+0x3c 0019e36c 53177331 mscorlib_ni!System.RuntimeType.InvokeMember+0x341 0019e4c4 537f61eb 
mscorlib_ni!System.RuntimeType.ForwardCallToInvokeMember+0x15f 0019e8a4 1f75097a kofficecontrol!KOfficeControl.ProgressIndicator.onFormProgress+0x1a 0019e8c0 1f75094c 
. . .

这告诉我错误调用是在MatchJobInt+0xd8,但我不知道0xd8 代表什么。它是字节偏移量吗?还是托管指令偏移量?还是别的什么?

我想以某种方式将 0xd8 映射回原始 C# 源代码,以查看 AppVerifier 抱怨的内容。

【问题讨论】:

标签: c# stack-trace managed


【解决方案1】:

它表示从函数开始的字节数(以指令/操作码的形式)

在上面的示例中,它距离MatchJobInt 的入口点有 0xd8 个字节(十进制为 216 个字节)

【讨论】:

    猜你喜欢
    • 2016-07-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-10-12
    • 1970-01-01
    • 2023-03-13
    • 2021-04-29
    相关资源
    最近更新 更多