Allow using wireshark

This commit is contained in:
momo5502 2022-07-01 21:45:53 +02:00
parent 70ad1b5823
commit 1456f7743e

View File

@ -118,6 +118,7 @@ namespace arxan
L"x96dbg", L"x96dbg",
L"x32dbg", L"x32dbg",
L"x64dbg", L"x64dbg",
L"Wireshark",
}; };
if (!string.Buffer || !string.Length) if (!string.Buffer || !string.Length)
@ -389,7 +390,7 @@ namespace arxan
{ {
static const std::pair<uint8_t*, size_t> text = []() -> std::pair<uint8_t*, size_t> static const std::pair<uint8_t*, size_t> text = []() -> std::pair<uint8_t*, size_t>
{ {
utils::nt::library game{}; const utils::nt::library game{};
for (const auto& section : game.get_section_headers()) for (const auto& section : game.get_section_headers())
{ {
std::string name(reinterpret_cast<char*>(section->Name), sizeof(section->Name)); std::string name(reinterpret_cast<char*>(section->Name), sizeof(section->Name));