2008-08-09 09:01:15     mudflap

Document created by Aaronwu Employee on Aug 8, 2013
Version 1Show Document
  • View in full screen mode

2008-08-09 09:01:15     mudflap

Linux Newbie (INDIA)

Message: 60207   

 

Hi,

 

After enabling mudflap, we see following message, but couldnt understand the meaning. Can anyone please guide us.

 

mudflap violation 4 (check/read): time=99912.590145 ptr=0x3755d38 size=180

pc=0x5a8356 location=`(memcpy source)'

      [0x0x5a6cb4]

Nearby object 1: checked region begins 0B into and ends 178B after

mudflap object 0x1042e8c: name=`string literal'

bounds=[0x3755d38,0x3755d39] size=2 area=static check=3r/0w liveness=3

alloc time=99908.999630 pc=0x5a7f9a

number of nearby objects: 1

 

mudflap violation 6 (check/write): time=99917.659004 ptr=0x5eb7a8 size=29

pc=0x5a8356 location=`(gethostbyname result->h_name)'

      [0x0x5a6cb4]

Nearby object 1: checked region begins 416B before and ends 388B before

mudflap object 0x11c3104: name=`gethostbyname result'

bounds=[0x5eb948,0x5eb95b] size=20 area=static check=0r/1w liveness=1

alloc time=99917.658872 pc=0x5a7f9a

number of nearby objects: 1

QuoteReplyEditDelete

 

 

2008-08-09 11:29:04     Re: mudflap

Robin Getz (UNITED STATES)

Message: 60208   

 

Linux:

 

https://docs.blackfin.uclinux.org/doku.php?id=debuging_applications#mudflap

 

That has a link to the mainline gcc docs:

 

http://gcc.gnu.org/wiki/Mudflap_Pointer_Debugging

 

That has a link to a pdf:

 

http://gcc.fyxm.net/summit/2003/mudflap.pdf

 

which includes "Figure 2: Sample libmudflap violation message, dissected." That should be all you need.

 

-Robin

Attachments

    Outcomes