IlDisassembler
Namespace: Dotsider.Core.Analysis
Assembly: Dotsider.Core.dll
Decodes IL (Intermediate Language) method bodies into human-readable instruction sequences.
public sealed class IlDisassemblerInheritance
Section titled “Inheritance”Object → IlDisassembler
Constructors
Section titled “Constructors”IlDisassembler(AssemblyAnalyzer)
Section titled “IlDisassembler(AssemblyAnalyzer)”Decodes IL (Intermediate Language) method bodies into human-readable instruction sequences.
Parameters:
analyzer(AssemblyAnalyzer):
public IlDisassembler(AssemblyAnalyzer analyzer)Methods
Section titled “Methods”Disassemble(MethodDefInfo)
Section titled “Disassemble(MethodDefInfo)”Disassembles a method’s IL body into a sequence of instructions. Returns an empty list if the method has no IL body.
Parameters:
method(MethodDefInfo): The method to disassemble.
Returns: IReadOnlyList<IlInstruction>
The list of decoded IL instructions.
public IReadOnlyList<IlInstruction> Disassemble(MethodDefInfo method)FormatDisassembly(MethodDefInfo)
Section titled “FormatDisassembly(MethodDefInfo)”Formats a complete disassembly listing for a method, including header information.
Parameters:
method(MethodDefInfo): The method to disassemble.
Returns: String
A multi-line string with the full disassembly listing.
public string FormatDisassembly(MethodDefInfo method)