示例#1
0
        private void RefreshFunctionList()
        {
            lvwFunctions.Items.Clear();
            foreach (ExportFunctionInfo functionInfo in _module.GetFunctionInfos())
            {
                ListViewItem listViewItem;

                listViewItem = new ListViewItem(functionInfo.Name);
                listViewItem.SubItems.Add("0x" + functionInfo.Address.ToString(Cache.Is64BitProcess ? "X16" : "X8"));
                listViewItem.SubItems.Add(functionInfo.Ordinal.ToString());
                lvwFunctions.Items.Add(listViewItem);
            }
            lvwFunctions.AutoResizeColumns(false);
        }