|
Re: Detecting unaligned access during runtime
|
06/07/2019 4:13 AM
post119741
|
Re: Detecting unaligned access during runtime
I think that a thread doing unaligned access creates a fault at processor level that gets translated to a signal (SIGBUS
I think, but not sure). You can catch that in your application, but not from outside.
To make this wark, you have to disable "alignment fault emulation" in the kernel, its a command line option to procnto.
(-ad or something)
-Al
|
|
|