mirror of
https://github.com/jakcron/nstool
synced 2024-11-15 02:06:40 +00:00
[nstool] NSO RO api list isn't part of the NSO header.
This commit is contained in:
parent
c027537af6
commit
503318795a
2 changed files with 9 additions and 4 deletions
|
@ -40,6 +40,7 @@ void NsoProcess::process()
|
||||||
if (mCliOutputType >= OUTPUT_NORMAL)
|
if (mCliOutputType >= OUTPUT_NORMAL)
|
||||||
{
|
{
|
||||||
displayHeader();
|
displayHeader();
|
||||||
|
displayRoApiList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -266,6 +267,13 @@ void NsoProcess::displayHeader()
|
||||||
}
|
}
|
||||||
printf(" .bss:\n");
|
printf(" .bss:\n");
|
||||||
printf(" MemorySize: 0x%" PRIx32 "\n", mHdr.getBssSize());
|
printf(" MemorySize: 0x%" PRIx32 "\n", mHdr.getBssSize());
|
||||||
|
|
||||||
|
#undef _HEXDUMP_L
|
||||||
|
}
|
||||||
|
|
||||||
|
void NsoProcess::displayRoApiList()
|
||||||
|
{
|
||||||
|
printf("[NSO RO Segment]\n");
|
||||||
if (mApiList.size() > 0)
|
if (mApiList.size() > 0)
|
||||||
{
|
{
|
||||||
printf(" API List:\n");
|
printf(" API List:\n");
|
||||||
|
@ -274,8 +282,4 @@ void NsoProcess::displayHeader()
|
||||||
printf(" %s\n", mApiList[i].c_str());
|
printf(" %s\n", mApiList[i].c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#undef _HEXDUMP_L
|
|
||||||
}
|
}
|
|
@ -41,4 +41,5 @@ private:
|
||||||
void importCodeSegments();
|
void importCodeSegments();
|
||||||
void importApiList();
|
void importApiList();
|
||||||
void displayHeader();
|
void displayHeader();
|
||||||
|
void displayRoApiList();
|
||||||
};
|
};
|
Loading…
Reference in a new issue