how can I check if all memory access in a programm is aligned? valgrind has no option to check it. Is there another tool? could I run the Software in a vm and have a checker there?
Background: I have a big program and I know that there are unaligned mem accesses. I tried to find all them. My main issue is that the hardware that this software will run on will generate hardware exceptions if a memory access is not aligned.