Fix Stuff

This commit is contained in:
TheBrokenRail 2020-10-16 18:23:39 -04:00
parent 27ad6caa3b
commit e501391142
4 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
FROM debian:bullseye
FROM arm64v8/debian:bullseye
RUN dpkg --add-architecture armhf

View File

@ -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) {