コード例 #1
0
ファイル: FrmMain.cs プロジェクト: qipa/IDACSharp
        private void treeView1_DoubleClick(object sender, EventArgs e)
        {
            if (!IsIDA)
            {
                return;
            }

            if (treeView1.SelectedNode == null)
            {
                return;
            }

            EntityBase2 entity = treeView1.SelectedNode.Tag as EntityBase2;

            if (entity == null || entity.Address <= 0)
            {
                return;
            }

            long address = entity.Address + entity.Info.ImageBase;

            KernelWin.WriteLine("跳:0x{0:X}", address);
            if (address > 0)
            {
                KernelWin.Jump((UInt32)address);
            }
        }
コード例 #2
0
        private void listView1_DoubleClick(object sender, EventArgs e)
        {
            Function function = GetSelected();

            if (function == null)
            {
                return;
            }
            KernelWin.Jump(function.Start);
        }