[Bug sanitizer/80308] asan crash on big-endian powerpc-linux target

bernd.edlinger at hotmail dot de gcc-bugzilla@gcc.gnu.org
Tue Apr 4 18:24:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80308

--- Comment #4 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
weird, in function OTServerBaseNode::addReference
the shadow ram is initialize correctly, and it
is overwritten in line 671 immediately before the crash:

=> 0x129fc870      rlwinm  r9,r29,29,3,31
2: x/i 0x37f7569c
   0x37f7569c:  .long 0x4f2f2
=> 0x129fc874      lwz     r4,80(r31)
2: x/i 0x37f7569c
   0x37f7569c:  .long 0x4f2f2
=> 0x129fc878     addis   r9,r9,8192
2: x/i 0x37f7569c
   0x37f7569c:  .long 0x4f2f2
=> 0x129fc87c     mr      r3,r29
2: x/i 0x37f7569c
   0x37f7569c:  .long 0x4f2f2
=> 0x129fc880     sth     r10,0(r9)
2: x/i 0x37f7569c
   0x37f7569c:  .long 0x400f2f2
=> 0x129fc884    bl      0x11e9cd64 <NodeIdStruct::NodeIdStruct(NodeIdStruct
const&)>


More information about the Gcc-bugs mailing list