[nstool] NSO RO api list isn't part of the NSO header.

This commit is contained in:
jakcron 2018-06-01 22:18:28 +08:00
parent c027537af6
commit 503318795a
2 changed files with 9 additions and 4 deletions

View file

@ -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
}

View file

@ -41,4 +41,5 @@ private:
void importCodeSegments();
void importApiList();
void displayHeader();
void displayRoApiList();
};