如何通过程序集和methoddef找出方法名称? [英] How to figure out method name by assembly and methoddef?

查看:53
本文介绍了如何通过程序集和methoddef找出方法名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows XP的计算机上开发并运行良好的应用程序在Windows Server 2008的目标计算机上存在严重问题.即,它无法通过以下可用信息正确启动:

Application that was developed on machine with Windows XP and works there just fine has severe problems on target machine with Windows Server 2008. Namely, it fails to start properly with following information avaiable:

Description:

  Stopped working


Problem signature:

  Problem Event Name:   CLR20r3

  Problem Signature 01: neolant.asrm.rcpfreshner.service

  Problem Signature 02: 1.0.7.0

  Problem Signature 03: 4f4b66d2

  Problem Signature 04: mscorlib

  Problem Signature 05: 2.0.0.0

  Problem Signature 06: 4bf4c743

  Problem Signature 07: e47

  Problem Signature 08: 20e

  Problem Signature 09: Exception

  OS Version:   6.0.6002.2.2.0.272.7

  Locale ID:    1049

我想从中提取所有可能的信息,这意味着我需要知道mscorlib中的哪种方法具有e47的methoddef.

I would like to extract all possible information from this, which means i need to know what method in mscorlib has methoddef of e47.

我如何获取此信息?

推荐答案

您可以使用 ildasm (Microsoft中级语言反汇编程序).在ildasm中打开程序集,然后从主菜单中选择 View-> MetaInfo-> Show!.您将看到带有* Def/* Ref标识符的程序集元数据.

You can use ildasm (Microsoft Intermediate Language Disassembler). Open the assembly in ildasm, and select View -> MetaInfo -> Show! from the main menu. You will see the assembly metadata with *Def/*Ref identifiers.

这篇关于如何通过程序集和methoddef找出方法名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆