Skip to content

Instantly share code, notes, and snippets.

@m6w6
Created August 19, 2015 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save m6w6/133de3760fa80109c9bf to your computer and use it in GitHub Desktop.
Save m6w6/133de3760fa80109c9bf to your computer and use it in GitHub Desktop.
gcc -fsanitize=alignment
Running selected tests.
/home/mike/src/php-master/ext/pcre/pcrelib/sljit/sljitNativeX86_64.c:519:26: runtime error: store to misaligned address 0x000002e4b111 for type 'sljit_si', which requires 4 byte alignment
0x000002e4b111: note: pointer points here
07 48 00 83 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
^
/home/mike/src/php-master/ext/pcre/pcrelib/sljit/sljitNativeX86_64.c:342:19: runtime error: store to misaligned address 0x000002e4b186 for type 'sljit_si', which requires 4 byte alignment
0x000002e4b186: note: pointer points here
fe 06 48 3d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
^
/home/mike/src/php-master/ext/pcre/pcrelib/sljit/sljitNativeX86_64.c:546:24: runtime error: store to misaligned address 0x000002e4b29d for type 'sljit_si', which requires 4 byte alignment
0x000002e4b29d: note: pointer points here
07 48 00 c6 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
^
/home/mike/src/php-master/ext/pcre/pcrelib/sljit/sljitNativeX86_64.c:58:24: runtime error: store to misaligned address 0x7fcaa4eb2264 for type 'sljit_sw', which requires 8 byte alignment
0x7fcaa4eb2264: note: pointer points here
8b f8 49 b9 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
^
/home/mike/src/php-master/ext/pcre/pcrelib/sljit/sljitNativeX86_common.c:535:28: runtime error: store to misaligned address 0x7fcaa4eb208e for type 'sljit_si', which requires 4 byte alignment
0x7fcaa4eb208e: note: pointer points here
3b c7 0f 83 00 00 00 00 48 0f b6 08 48 83 f9 2d 74 00 48 83 c0 01 eb 00 48 89 44 24 30 48 89 5c
^
/home/mike/src/php-master/ext/pcre/pcrelib/sljit/sljitNativeX86_64.c:222:20: runtime error: store to misaligned address 0x000002e609f5 for type 'sljit_si', which requires 4 byte alignment
0x000002e609f5: note: pointer points here
07 48 81 ec 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
^
/home/mike/src/php-master/ext/pcre/pcrelib/sljit/sljitNativeX86_64.c:295:20: runtime error: store to misaligned address 0x000002e60dad for type 'sljit_si', which requires 4 byte alignment
0x000002e60dad: note: pointer points here
07 48 81 c4 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment