Unaligned Accesses

You can request the debugger to catch unaligned accesses:

 

(idb) catch unaligned

 

This command is very much like the stop unaligned command:

Although this looks like a normal catch command, it differs in several respects:

Like other catch commands, the following rules apply:

Note:

You cannot specify unaligned in a signal detector of a normal breakpoint definition.

You can request the debugger to ignore unaligned accesses when catch unaligned is in effect (the default) by using the following command:

 

(idb) ignore unaligned

 

However, if a breakpoint was defined using an unaligned access detector, then it must be disabled using a disable or delete breakpoint command.

Unaligned Accesses (Linux and Mac OS Only)

Unaligned accesses are automatically handled and quietly corrected on Linux and Mac OS. The debugger cannot catch these events.