示例#1
0
        public static CodeLineData GetDisassemblyLineData(CpuType type, UInt32 lineIndex)
        {
            InteropCodeLineData data = new InteropCodeLineData();

            data.Comment  = new byte[1000];
            data.Text     = new byte[1000];
            data.ByteCode = new byte[4];

            DebugApi.GetDisassemblyLineDataWrapper(type, lineIndex, ref data);
            return(new CodeLineData(data, type));
        }
示例#2
0
 [DllImport(DllPath, EntryPoint = "GetDisassemblyLineData")] private static extern void GetDisassemblyLineDataWrapper(CpuType type, UInt32 lineIndex, ref InteropCodeLineData lineData);