Updated arookas library

Now it uses the public repository, making syncing updates much easier.
This commit is contained in:
arookas 2016-02-12 22:53:18 -05:00
parent 7af004c617
commit a4e0af193e
4 changed files with 10 additions and 11 deletions

View file

@ -67,7 +67,7 @@ namespace arookas {
static void ReadCommandLine(string[] args) {
Console.WriteLine("Reading command line...");
sSettings = new CommandLineSettings(new CommandLine(args));
sSettings = new CommandLineSettings(new aCommandLine(args));
}
static void CreateReader(Stream stream) {
Console.WriteLine("Creating binary reader...");
@ -240,7 +240,7 @@ namespace arookas {
static string FetchDataValue(uint ofs) {
sReader.Keep();
sReader.Goto(sDataOffset + (4 * sDataCount) + ofs);
var data = sReader.ReadString(aBinaryStringFormat.NullTerminated);
var data = sReader.ReadString<aZSTR>();
sReader.Back();
return data;
}
@ -271,7 +271,7 @@ namespace arookas {
static string FetchSymbolName(Symbol symbol) {
sReader.Keep();
sReader.Goto(sDynsymOffset + (20 * sDynsymCount) + symbol.StringOffset);
var name = sReader.ReadString(aBinaryStringFormat.NullTerminated);
var name = sReader.ReadString<aZSTR>();
sReader.Back();
return name;
}

View file

@ -14,7 +14,7 @@ namespace arookas {
public bool OutputDynsym { get { return mOutputDynsym; } }
public bool OutputBss { get { return mOutputBss; } }
public CommandLineSettings(CommandLine cmd) {
public CommandLineSettings(aCommandLine cmd) {
if (cmd == null) {
throw new ArgumentNullException("cmd");
}