diff --git a/sbdump/main.cs b/sbdump/main.cs index 81b4c51..dae201c 100644 --- a/sbdump/main.cs +++ b/sbdump/main.cs @@ -44,8 +44,8 @@ namespace arookas { if (sSettings.OutputData) { WriteData(); } - if (sSettings.OutputDynsym) { - WriteDynsym(); + if (sSettings.OutputSym) { + WriteSym(); } if (sSettings.OutputBss) { WriteBss(); @@ -198,9 +198,9 @@ namespace arookas { } sWriter.WriteLine(); } - static void WriteDynsym() { - Console.WriteLine("Outputting .dynsym..."); - sWriter.WriteLine(".dynsym"); + static void WriteSym() { + Console.WriteLine("Outputting .sym..."); + sWriter.WriteLine(".sym"); sReader.Goto(sDynsymOffset); for (int i = 0; i < sDynsymCount; ++i) { var symbol = new Symbol(sReader); diff --git a/sbdump/settings.cs b/sbdump/settings.cs index 189fa3a..5f5214a 100644 --- a/sbdump/settings.cs +++ b/sbdump/settings.cs @@ -4,14 +4,14 @@ using System.IO; namespace arookas { class CommandLineSettings { string mInput, mOutput; - bool mOutputHeader, mOutputText, mOutputData, mOutputDynsym, mOutputBss; + bool mOutputHeader, mOutputText, mOutputData, mOutputSym, mOutputBss; public string Input { get { return mInput; } } public string Output { get { return mOutput; } } public bool OutputHeader { get { return mOutputHeader; } } public bool OutputText { get { return mOutputText; } } public bool OutputData { get { return mOutputData; } } - public bool OutputDynsym { get { return mOutputDynsym; } } + public bool OutputSym { get { return mOutputSym; } } public bool OutputBss { get { return mOutputBss; } } public CommandLineSettings(aCommandLine cmd) { @@ -28,8 +28,8 @@ namespace arookas { case "-t": mOutputText = false; continue; case "-D": mOutputData = true; continue; case "-d": mOutputData = false; continue; - case "-S": mOutputDynsym = true; continue; - case "-s": mOutputDynsym = false; continue; + case "-S": mOutputSym = true; continue; + case "-s": mOutputSym = false; continue; case "-B": mOutputBss = true; continue; case "-b": mOutputBss = false; continue; }