diff --git a/programs/nstool/source/NsoProcess.cpp b/programs/nstool/source/NsoProcess.cpp index 4bd9d94..b7fe4ed 100644 --- a/programs/nstool/source/NsoProcess.cpp +++ b/programs/nstool/source/NsoProcess.cpp @@ -40,6 +40,7 @@ void NsoProcess::process() if (mCliOutputType >= OUTPUT_NORMAL) { displayHeader(); + displayRoApiList(); } } @@ -266,6 +267,13 @@ void NsoProcess::displayHeader() } printf(" .bss:\n"); printf(" MemorySize: 0x%" PRIx32 "\n", mHdr.getBssSize()); + +#undef _HEXDUMP_L +} + +void NsoProcess::displayRoApiList() +{ + printf("[NSO RO Segment]\n"); if (mApiList.size() > 0) { printf(" API List:\n"); @@ -274,8 +282,4 @@ void NsoProcess::displayHeader() printf(" %s\n", mApiList[i].c_str()); } } - - - -#undef _HEXDUMP_L } \ No newline at end of file diff --git a/programs/nstool/source/NsoProcess.h b/programs/nstool/source/NsoProcess.h index 1f94d8a..6dbc982 100644 --- a/programs/nstool/source/NsoProcess.h +++ b/programs/nstool/source/NsoProcess.h @@ -41,4 +41,5 @@ private: void importCodeSegments(); void importApiList(); void displayHeader(); + void displayRoApiList(); }; \ No newline at end of file