mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-19 15:25:09 +00:00
Fix LE/LX debug parsing
This commit is contained in:
@@ -428,7 +428,7 @@ namespace BurnOutSharp.Builders
|
||||
#region Debug Information
|
||||
|
||||
// Get the debug information offset
|
||||
offset = informationBlock.NonResidentNamesTableOffset + stub.Header.NewExeHeaderAddr;
|
||||
offset = informationBlock.DebugInformationOffset + stub.Header.NewExeHeaderAddr;
|
||||
if (offset > stub.Header.NewExeHeaderAddr && offset < data.Length)
|
||||
{
|
||||
// Seek to the debug information
|
||||
|
||||
@@ -111,7 +111,7 @@ namespace Test
|
||||
var linearExecutable = LinearExecutable.Create(stream);
|
||||
if (linearExecutable == null)
|
||||
{
|
||||
Console.WriteLine("Something went wrong parsing New Executable");
|
||||
Console.WriteLine("Something went wrong parsing Linear Executable");
|
||||
Console.WriteLine();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user