diff --git a/src/windows-emulator/process_context.hpp b/src/windows-emulator/process_context.hpp index be4ae037..500c5637 100644 --- a/src/windows-emulator/process_context.hpp +++ b/src/windows-emulator/process_context.hpp @@ -110,6 +110,11 @@ struct section uint32_t section_page_protection{}; uint32_t allocation_attributes{}; + bool is_image() const + { + return this->allocation_attributes & SEC_IMAGE; + } + void serialize(utils::buffer_serializer& buffer) const { buffer.write(this->name);