アドレスサニタイザーを使用していくつかの C++ コードを修正しようとしています。コードは次のように述べています。
unsigned result = *(uint32_t*)data;
そしてサニタイザーは次のように与えます:
runtime error: load of misaligned address 0x6280033f410a for type 'uint32_t', which requires 4 byte alignment
これを修正するにはどうすればよいですか?