Пример #1
0
        public override bool Execute()
        {
            var sw = Stopwatch.StartNew();

            try
            {
                // Important! A given address can have more than one label.
                // Do NOT filter by duplicate addresses as this causes serious lookup problems.
                string xFile = RunObjDump();

                ObjDump.ExtractMapSymbolsForElfFile(DebugInfoFile, xFile);

                return(true);
            }
            catch (Exception E)
            {
                LogError("An error occurred: {0}", E.ToString());
                return(false);
            }
            finally
            {
                sw.Stop();
                Log.LogMessage(MessageImportance.High, "Extracting Map file took {0}", sw.Elapsed);
            }
        }
Пример #2
0
        public override bool Execute()
        {
            if (!base.Execute())
            {
                return(false);
            }

            ObjDump.ExtractMapSymbolsForElfFile(DebugInfoFile, MapFile);

            return(true);
        }
Пример #3
0
        /// <summary>
        /// Entry point for the application.
        /// </summary>
        /// <param name="args">Parameters passed from the command line.</param>
        private static void Main(string[] args)
        {
            if (args.Length != 2)
            {
                PrintHelp();
                return;
            }

            var xMapFile       = args[0];
            var xDebugDatabase = args[1];

            ObjDump.ExtractMapSymbolsForElfFile(xDebugDatabase, xMapFile);
        }
Пример #4
0
        public override bool Execute()
        {
            Log.LogMessage(MessageImportance.High, "Extracting Map file...");

            var xSW = Stopwatch.StartNew();

            try
            {
                if (!base.Execute())
                {
                    return(false);
                }

                ObjDump.ExtractMapSymbolsForElfFile(DebugInfoFile, MapFile);

                return(true);
            }
            finally
            {
                xSW.Stop();
                Log.LogMessage(MessageImportance.High, "Extracting Map file took {0}", xSW.Elapsed);
            }
        }
Пример #5
0
 public void dump(UnityEngine.Object o)
 {
     ObjDump.Dump(o);
 }
Пример #6
0
 public void dump(System.Object o)
 {
     ObjDump.Dump(o);
 }