mirror of
https://github.com/upx/upx.git
synced 2025-08-11 22:52:30 +08:00
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:

committed by
Markus F.X.J. Oberhumer

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 //}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user