Пример #1
0
        public void getIL_BT_Click(object sender, EventArgs e)
        {
            if (domainTraverser.currentMethod == null)
            {
                return;
            }
            editor_RTB.Clear();
            formatOutput formatOutput = new formatOutput();

            foreach (ILInstruction instruciton in ILInstructionLoader.GetInstructions(domainTraverser.currentMethod))
            {
                editor_RTB.AppendText(instruciton.Offset.ToString("X4") + " " + instruciton.OpCode + " " + formatOutput.setUpDataFormat(instruciton) + "\n");
            }
        }
Пример #2
0
        private void getILCustomCToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var selectedMethod = dynamicMethods_LB.SelectedItem as MethodInfo;

            if (selectedMethod == null)
            {
                return;
            }
            editor_RTB.Clear();
            formatOutput formatOutput = new formatOutput();

            foreach (ILInstruction instruciton in ILInstructionLoader.GetInstructions(selectedMethod))
            {
                editor_RTB.AppendText(instruciton.Offset.ToString("X4") + " " + instruciton.OpCode + " " + formatOutput.setUpDataFormat(instruciton) + "\n");
            }
        }
Пример #3
0
 private void getILCustomCToolStripMenuItem_Click(object sender, EventArgs e)
 {
     var selectedMethod = dynamicMethods_LB.SelectedItem as MethodInfo;
     if (selectedMethod == null)
         return;
     editor_RTB.Clear();
     formatOutput formatOutput = new formatOutput();
     foreach (ILInstruction instruciton in ILInstructionLoader.GetInstructions(selectedMethod))
     {
         editor_RTB.AppendText(instruciton.Offset.ToString("X4") + " " + instruciton.OpCode + " " + formatOutput.setUpDataFormat(instruciton) + "\n");
     }
 }
Пример #4
0
 public void getIL_BT_Click(object sender, EventArgs e)
 {
     if (domainTraverser.currentMethod == null)
         return;
     editor_RTB.Clear();
     formatOutput formatOutput = new formatOutput();
     foreach (ILInstruction instruciton in ILInstructionLoader.GetInstructions(domainTraverser.currentMethod))
     {
         editor_RTB.AppendText(instruciton.Offset.ToString("X4") + " " + instruciton.OpCode + " " + formatOutput.setUpDataFormat(instruciton) + "\n");
     }
 }