Bug 206618 - ptrcheck complains about things allocated with alloca
Summary: ptrcheck complains about things allocated with alloca
Status: RESOLVED UNMAINTAINED
Alias: None
Product: valgrind
Classification: Developer tools
Component: sgcheck (show other bugs)
Version: 3.5 SVN
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
: alloca (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-07 13:05 UTC by Tom Hughes
Modified: 2023-11-17 00:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Test case (170 bytes, text/plain)
2009-09-07 13:05 UTC, Tom Hughes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Hughes 2009-09-07 13:05:54 UTC
Created attachment 36766 [details]
Test case

Any memory allocated on the stack with alloca is not recognised by ptrcheck leading it to complain about out of bounds accesses because it doesn't realise alloca has been used.
Comment 1 Tom Hughes 2011-10-05 07:41:59 UTC
*** Bug 283374 has been marked as a duplicate of this bug. ***
Comment 2 Mark Wielaard 2023-11-17 00:20:21 UTC
Sorry, exp-sgcheck (named exp-ptrcheck prior to version 3.7), was removed in version 3.16.0.