Exemple #1
0
        private void showEntryPointInDumpToolStripMenuItem_Click(object sender, EventArgs e)
        {
            int           n = listBox1.SelectedIndex;
            WinMemoryDump f = new WinMemoryDump();

            f.MdiParent = this.MdiParent;
            f.Show();
            f.toolStripTextBox1.Text = Debugger.GetModuleEntryPoint(n).ToString("X8");
            f.toolStripTextBox2.Text = "100";
            f.Dump();
        }
Exemple #2
0
        private void previewInMemoryDumpToolStripMenuItem_Click(object sender, EventArgs e)
        {
            int    n    = listBox1.SelectedIndex;
            string line = listBox1.Items[n].ToString();

            string[] parts = line.Split(' ');
            parts = parts[0].Split('x');
            WinMemoryDump f = new WinMemoryDump();

            f.toolStripTextBox1.Text = parts[1];
            f.toolStripTextBox2.Text = "100";
            f.MdiParent = this.MdiParent;
            f.Show();
            f.Dump();
        }