#include /// /// small namespace that contains function wrappers to determine the validity of linear virtual addresses... /// namespace scn { /// /// determines if a pointer lands inside of a section that is readonly... /// /// this also checks to make sure the section is not discardable... /// /// linear virtual address of the module.... /// linear virtual address /// returns true if ptr lands inside of a readonly section of the module bool read_only( std::uint64_t module_base, std::uint64_t ptr ); /// /// determines if a pointer lands inside of a section that is executable... /// /// this also checks to make sure the section is not discardable... /// /// /// /// bool executable( std::uint64_t module_base, std::uint64_t ptr ); } // namespace scn