[tree-ssa mudflap] -fwritable-strings causes a violation

Eyal Lebedinsky eyal@eyal.emu.id.au
Sat May 17 05:52:00 GMT 2003


registering the (unused) string leads to this:

mf: register ptr=0804963c size=4 type=4 name='/home/eyal/zz.c:1 string'
mf: violation pc=40017a8a location= type=3 ptr=0804963c size=4
*******
mudflap violation 1 (register): time=1053146782.014624 ptr=0804963c
size=4
pc=40017a8a
mf: reentrancy detected in `malloc'
      /usr/local/gcc-mudflap/lib/libmudflapth.so.0(__mf_register+0x5a)
[0x40017a8a]
      /home/eyal/zz [0x80485d9]
      /home/eyal/zz [0x80485f2]
Nearby object 1: checked region begins 0B into and ends 3B into
mudflap object 080499d0: name=`string literal'
bounds=[0804963c,08049647] size=12 area=static check=0r/0w liveness=0
alloc time=1053146782.014597 pc=40017a8a
number of nearby objects: 1

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zz13.sh
Type: application/x-sh
Size: 557 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20030517/6f545132/attachment.sh>


More information about the Gcc mailing list