public static InternName ( string name ) : string | ||
name | string | |
return | string |
public override void Execute(App app) { DefFactory factory = new DefFactory(); Translator translator = new Translator(); Pdb pdb = app._pdb; string[] args = app._args; for (int i = 2; i < args.Length; i++) { string symName = PdbSymbol.InternName(args[i]); PdbSymbol symbol = pdb.Find(symName); if (symbol == null) { app.WriteError("can't find symbol: " + symName); continue; } Def def = factory.CreateMixedTypedef(symbol.TranslateBy(translator), symbol.Name); Console.WriteLine(def.Output("", " ")); } }
public CType TranslateTypeRef(IDiaSymbol sym) { return(new CTypeRef(PdbSymbol.InternName(sym.name))); }