Example #1
0
        internal static AnalysisGroup AddAnalysisGroup(ListView lvw, TreeView tvw, string key, string desc, TreeNode parent = null)
        {
            var ret = new AnalysisGroup();

            ret.LVGroup     = lvw.Groups.Add(key, desc);
            ret.LVGroup.Tag = key;

            if (parent != null)
            {
                ret.Node = parent.Nodes.Add(key, desc);
            }
            else
            {
                ret.Node = tvw.Nodes.Find("root", true)[0].Nodes.Add(key, desc);
            }

            return(ret);
        }
Example #2
0
        internal static void AddAnalysisItem(List <ListViewItem> lvwitems, TreeView tvw, string desc, AnalysisGroup group, string nonpreviewdata)
        {
            var item = new ListViewItem(new string[] { desc, nonpreviewdata });

            item.Group = group.LVGroup;
            lvwitems.Add(item);

            var tnode = new TreeNode(desc);

            group.Node.Nodes.Add(tnode);
        }
Example #3
0
        internal static void AddAnalysisItem(List <ListViewItem> lvwitems, TreeView tvw, string desc, AnalysisGroup group, ByteSequence originaldata)
        {
            var item = new ListViewItem(new string[] { desc, originaldata.ToString() });

            item.Group = group.LVGroup;
            item.Tag   = originaldata;
            lvwitems.Add(item);

            var tnode = new TreeNode(desc);

            tnode.Tag = originaldata;

            group.Node.Nodes.Add(tnode);
        }
Example #4
0
 public override void PopulateAnalysis(MSFStream stream, List <ListViewItem> lvw, AnalysisGroup group, TreeView tvw)
 {
     MSFStream.AddAnalysisItem(lvw, tvw, "UDT symbol type index", group, TypeIndex);
     MSFStream.AddAnalysisItem(lvw, tvw, "UDT name", group, Name);
 }
Example #5
0
 public override void PopulateAnalysis(MSFStream stream, List <ListViewItem> lvw, AnalysisGroup group, TreeView tvw)
 {
     MSFStream.AddAnalysisItem(lvw, tvw, "Public symbol type", group, PublicType);
     MSFStream.AddAnalysisItem(lvw, tvw, "Start offset", group, Offset);
     MSFStream.AddAnalysisItem(lvw, tvw, "Section index", group, SectionIndex);
     MSFStream.AddAnalysisItem(lvw, tvw, "Name", group, Name);
 }
Example #6
0
 public virtual void PopulateAnalysis(MSFStream stream, List <ListViewItem> lvw, AnalysisGroup group, TreeView tvw)
 {
 }
Example #7
0
 public override void PopulateAnalysis(MSFStream stream, List <ListViewItem> lvw, AnalysisGroup group, TreeView tvw)
 {
     MSFStream.AddAnalysisItem(lvw, tvw, "Section index", group, SectionIndex);
     MSFStream.AddAnalysisItem(lvw, tvw, "Alignment", group, Alignment);
     MSFStream.AddAnalysisItem(lvw, tvw, "RVA", group, RVA);
     MSFStream.AddAnalysisItem(lvw, tvw, "Length", group, Length);
     MSFStream.AddAnalysisItem(lvw, tvw, "Characteristics", group, Characteristics);
     MSFStream.AddAnalysisItem(lvw, tvw, "Name", group, Name);
 }
Example #8
0
 public override void PopulateAnalysis(MSFStream stream, List <ListViewItem> lvw, AnalysisGroup group, TreeView tvw)
 {
     MSFStream.AddAnalysisItem(lvw, tvw, "ProcRef sum name", group, SumName);
     MSFStream.AddAnalysisItem(lvw, tvw, "Symbol offset", group, SymOffset);
     MSFStream.AddAnalysisItem(lvw, tvw, "Module index", group, Module);
     MSFStream.AddAnalysisItem(lvw, tvw, "Name", group, Name);
 }