Update arxan.cpp

This commit is contained in:
Maurice Heumann 2022-09-19 09:18:23 +02:00 committed by GitHub
parent 14e24f1781
commit cc362b1d78

View File

@ -397,7 +397,7 @@ namespace arxan
uint32_t* original_checksum; uint32_t* original_checksum;
}; };
// Pretty trashy, but working, heuristic to search integrity the handler context // Pretty trashy, but working, heuristic to search the integrity handler context
bool is_handler_context(uint8_t* stack_frame, const uint32_t computed_checksum, const uint32_t frame_offset) bool is_handler_context(uint8_t* stack_frame, const uint32_t computed_checksum, const uint32_t frame_offset)
{ {
auto* potential_address = *reinterpret_cast<uint32_t**>(stack_frame + frame_offset); auto* potential_address = *reinterpret_cast<uint32_t**>(stack_frame + frame_offset);