From 82c1f36b144f74b8b578a41bacd443fac359f09a Mon Sep 17 00:00:00 2001 From: _xeroxz Date: Thu, 24 Jun 2021 23:19:49 -0700 Subject: [PATCH] working on lib dctor... pe one seems to be working, map symbol loader as well... --- include/llodctor/llodctor_lib.hpp | 6 ++---- include/llosymbol_loader/llosymbol_loader_map.hpp | 2 +- llo-s1.vcxproj.user | 4 ++-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/include/llodctor/llodctor_lib.hpp b/include/llodctor/llodctor_lib.hpp index 39969f1..c77127c 100644 --- a/include/llodctor/llodctor_lib.hpp +++ b/include/llodctor/llodctor_lib.hpp @@ -16,13 +16,11 @@ namespace llo::s1 do { + // TODO... + // BROKE! if ( lib_entry->is_string_table() ) 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 ) ); } while ( ( lib_entry = lib_header->first_entry.next() ) ); } diff --git a/include/llosymbol_loader/llosymbol_loader_map.hpp b/include/llosymbol_loader/llosymbol_loader_map.hpp index e7399b3..f0d1eb2 100644 --- a/include/llosymbol_loader/llosymbol_loader_map.hpp +++ b/include/llosymbol_loader/llosymbol_loader_map.hpp @@ -1,5 +1,5 @@ -#include #include +#include namespace llo::s1 { diff --git a/llo-s1.vcxproj.user b/llo-s1.vcxproj.user index 6452c4d..1d9f7e1 100644 --- a/llo-s1.vcxproj.user +++ b/llo-s1.vcxproj.user @@ -1,11 +1,11 @@  - -i llo-s1.exe -s llo-s1.map + -i llo-s1.lib WindowsLocalDebugger - -i llo-s1.exe -s llo-s1.map + -i llo-s1.lib WindowsLocalDebugger \ No newline at end of file