From d92cd82f2952a1662784f664e50642d27e58f3f3 Mon Sep 17 00:00:00 2001 From: macmade Date: Wed, 11 Sep 2024 13:04:44 +0200 Subject: [PATCH] feat(Libraries): Displaying the path for linked libraries. --- Submodules/STDXS | 2 +- macho/Display.cpp | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Submodules/STDXS b/Submodules/STDXS index b651b05..ae4fcdd 160000 --- a/Submodules/STDXS +++ b/Submodules/STDXS @@ -1 +1 @@ -Subproject commit b651b056d33cba21ee16b2bb5f70039aa9fd42df +Subproject commit ae4fcdda06f80ac480e375a33b01e571676bb778 diff --git a/macho/Display.cpp b/macho/Display.cpp index 6b0d0b4..83b2459 100644 --- a/macho/Display.cpp +++ b/macho/Display.cpp @@ -76,7 +76,10 @@ namespace Display for( const auto & lib: file.linkedLibraries() ) { - libs.addChild( XS::ToString::Filename( lib ) ); + std::string name = XS::ToString::Filename( lib ); + std::string dir = XS::ToString::DirectoryName( lib ); + + libs.addChild( name + " - " + dir ); } libs.value( std::to_string( libs.children().size() ) );