chore(logger): module output once (#1025)
This commit is contained in:
parent
7084ce510b
commit
555e9e45ba
@ -42,16 +42,7 @@ namespace big
|
|||||||
|
|
||||||
// modules cached already
|
// modules cached already
|
||||||
if (m_modules.size())
|
if (m_modules.size())
|
||||||
{
|
|
||||||
for (const auto& module : m_modules)
|
|
||||||
{
|
|
||||||
m_dump
|
|
||||||
<< module.m_path.filename().string()
|
|
||||||
<< " Base Address: " << HEX_TO_UPPER(module.m_base)
|
|
||||||
<< " Size: " << module.m_size << '\n';
|
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
|
|
||||||
const auto peb = reinterpret_cast<PPEB>(NtCurrentTeb()->ProcessEnvironmentBlock);
|
const auto peb = reinterpret_cast<PPEB>(NtCurrentTeb()->ProcessEnvironmentBlock);
|
||||||
if (!peb)
|
if (!peb)
|
||||||
|
Reference in New Issue
Block a user