Fix Stuff
This commit is contained in:
parent
27ad6caa3b
commit
e501391142
@ -1,4 +1,4 @@
|
||||
FROM debian:bullseye
|
||||
FROM arm64v8/debian:bullseye
|
||||
|
||||
RUN dpkg --add-architecture armhf
|
||||
|
||||
|
@ -69,7 +69,8 @@ void _patch(const char *file, int line, void *start, unsigned char patch[]) {
|
||||
PATCH_PRINTF(file, line, start, "result");
|
||||
|
||||
mprotect((void *) page_start, end - page_start, PROT_READ | PROT_EXEC);
|
||||
__clear_cache(start, (void *) end);
|
||||
|
||||
__builtin___clear_cache(start, (void *) end);
|
||||
}
|
||||
|
||||
void _patch_address(const char *file, int line, void *start, void *target) {
|
||||
|
Loading…
Reference in New Issue
Block a user