Force 'bkpt' on arm.v5a and below
fixup https://github.com/upx/upx/issues/612 modified: stub/src/amd64-darwin.macho-main.c
This commit is contained in:
parent
1bebe53cef
commit
0fadddec65
@ -482,7 +482,7 @@ void my_bkpt(void const *foo, ...)
|
||||
#elif defined(__aarch64__) //}{
|
||||
__asm__("brk #0");
|
||||
#elif defined(__arm__) //}{
|
||||
__asm__("bkpt");
|
||||
__asm__(".long 0xe7f001f0"); // "bkpt" ==> "udf #16"
|
||||
#endif //}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user