1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-20 15:19:29 +08:00
Files
Alas/blcrack/cracker/Dobby/source/InterceptEntry.cpp
2025-11-01 00:23:46 +08:00

16 lines
345 B
C++

#include "InterceptEntry.h"
#include "Interceptor.h"
InterceptEntry::InterceptEntry(InterceptEntryType type, addr_t address) {
this->type = type;
#if defined(TARGET_ARCH_ARM)
if (address % 2) {
address -= 1;
this->thumb_mode = true;
}
#endif
this->patched_addr = address;
this->id = Interceptor::SharedInstance()->count();
}