working on lib dctor... pe one seems to be working, map symbol loader as

well...
master
_xeroxz 3 years ago
parent c5f3f9dccb
commit 82c1f36b14

@ -16,13 +16,11 @@ namespace llo::s1
do do
{ {
// TODO...
// BROKE!
if ( lib_entry->is_string_table() ) if ( lib_entry->is_string_table() )
string_table = ( ar::entry_t * )lib_entry; string_table = ( ar::entry_t * )lib_entry;
// skip these since we dont want to extract them... they are not obj files...
if ( lib_entry->is_string_table() || lib_entry->is_symbol_table() )
continue;
std::printf( "> object name = %s\n", lib_entry->to_string( string_table ) ); std::printf( "> object name = %s\n", lib_entry->to_string( string_table ) );
} while ( ( lib_entry = lib_header->first_entry.next() ) ); } while ( ( lib_entry = lib_header->first_entry.next() ) );
} }

@ -1,5 +1,5 @@
#include <llosymbol_loader/llosymbol_loader_base.hpp>
#include <llosymbol/llosymbol_opaque.hpp> #include <llosymbol/llosymbol_opaque.hpp>
#include <llosymbol_loader/llosymbol_loader_base.hpp>
namespace llo::s1 namespace llo::s1
{ {

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LocalDebuggerCommandArguments>-i llo-s1.exe -s llo-s1.map</LocalDebuggerCommandArguments> <LocalDebuggerCommandArguments>-i llo-s1.lib</LocalDebuggerCommandArguments>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LocalDebuggerCommandArguments>-i llo-s1.exe -s llo-s1.map</LocalDebuggerCommandArguments> <LocalDebuggerCommandArguments>-i llo-s1.lib</LocalDebuggerCommandArguments>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup> </PropertyGroup>
</Project> </Project>
Loading…
Cancel
Save