Skip to content

Commit c693953

Browse files
feat: impl is_valid
1 parent 9040017 commit c693953

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/memory.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,4 +234,7 @@ MemoryPatch Pointer::reassembly_thread_pause() {
234234
#endif
235235
});
236236
}
237+
bool Pointer::is_valid() const {
238+
return proc != nullptr && proc->check_valid((void *)_offset);
239+
}
237240
} // namespace blook

0 commit comments

Comments
 (0)