- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using Intel Inspector 2016 Update 1 to inspect code compiled with Visual Studio 2008. We are getting 'uninitialised memory access' errors on use of strcmp(). Our suspicion is that the compiler has optimised to read 4 bytes ahead at a time for performance, even if that is beyond the length of the string. So while the tool is technically correct it has no implications for stability.
Is this a known issue, is there a way to stop reporting on strcmp?
Thanks,
Frazer
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In general speaking, Intel Inspector 2016 u1 -
Supported Microsoft Visual Studio* versions:
o Microsoft Visual Studio* 2012
o Microsoft Visual Studio* 2013
o Microsoft Visual Studio* 2015
Microsoft Visual Studio* 2008 is not in the list. If you think that is "Guard zone size" issue - you can create a Custom Analysis for detecting memory problem, then Edit - check "Enable guard zones" to change "Guard zone size" then retry?
Regards, Peter
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page