On Thu, Jan 15, 2009 at 9:09 AM, galapogos <[email protected]> wrote:
>
> Thanks kcc. I've compiled it dynamically now for debugging, but I'm still
> getting many errors, particularly of these type
>
> Syscall param <function(params)> points to uninitialised byte(s) and/or
> Conditional jump or move depends on uninitialised value(s)
>
> This doesn't make sense to me since the values are in fact initialized, or
> if they're not, it doesn't matter because the function will write to the
> variable, hence initializing it. I'm getting these errors on simple ioctl()
> calls, and even malloc()/strcpy()/etc.

What compiler options did you use?
Also, could you please provide more info (compiler version, valgrind
version, linux version, maybe some exemplary output).

--kcc

>
>
> Bugzilla from [email protected] wrote:
>>
>> On Thu, Jan 15, 2009 at 7:14 AM, galapogos <[email protected]> wrote:
>>>
>>> Hi,
>>>
>>> I am trying to run valgrind on my program, which uses other standard
>>> libraries such as pthread and ncurses. My program is compiled statically.
>>
>>>From http://valgrind.org/docs/manual/faq.html:
>> if your program is statically linked, most Valgrind tools won't work
>> as well, because they won't be able to replace certain functions, such
>> as malloc(), with their own versions.
>>
>> --kcc
>>
>>
>>> Valgrind is complaining about some errors/warnings from these libraries,
>>> which are out of my control, and I wish to suppress these messages. I've
>>> run
>>> gen-suppressions=yes to generate suppressions, but there are hundreds of
>>> them and I don't wish to have such a long suppression file if possible.
>>>
>>> Is it thus possible to suppress all messages from specified libraries?
>>> I've
>>> looked at the valgrind manual under suppressions but I can't figure out
>>> how
>>> to do it. I've tried using wildcards (* and ...) but they don't seem to
>>> work.
>>>
>>> Thanks!
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Suppressing-messages-from-libraries-tp21471039p21471039.html
>>> Sent from the Valgrind - Users mailing list archive at Nabble.com.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> This SF.net email is sponsored by:
>>> SourcForge Community
>>> SourceForge wants to tell your story.
>>> http://p.sf.net/sfu/sf-spreadtheword
>>> _______________________________________________
>>> Valgrind-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/valgrind-users
>>>
>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by:
>> SourcForge Community
>> SourceForge wants to tell your story.
>> http://p.sf.net/sfu/sf-spreadtheword
>> _______________________________________________
>> Valgrind-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/valgrind-users
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Suppressing-messages-from-libraries-tp21471039p21471981.html
> Sent from the Valgrind - Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Valgrind-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/valgrind-users
>

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to