Debugger

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

Post Reply
Planetary_Myth
Posts: 28
Joined: Mon Aug 16, 2010 2:45 pm

Debugger

Post by Planetary_Myth »

Used a program called cppcheck and figured id post the debug log it spit out.
Note: The program does state that their could be false positives.

Code: Select all

[base\applications\calc\function.c:34]: (error) Passing value -1.0 to sqrt() leads to undefined result
[base\applications\calc\function.c:43]: (error) Passing value -1.0 to sqrt() leads to undefined result
[base\applications\network\ftp\ftp.c:220]: (error) fflush() called on input stream "stdin" may result in undefined behaviour
[base\applications\network\telnet\src\tnconfig.cpp:284]: (error) Buffer access out-of-bounds: exename
[base\applications\notepad\main.c:518]: (error) Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
[base\services\svchost\svchost.c:51]: (error) Dangerous usage of 'ServiceKeyBuffer' (strncpy doesn't always 0-terminate it)
[base\shell\explorer\utility\xmlstorage.h:847]: (performance) Function parameter 'path' should be passed by reference.
[base\shell\explorer\globals.h:240]: (error) You can randomly lose access to pointers if you store 'auto_ptr' pointers in a container because the copy-semantics of 'auto_ptr' are not compatible with containers.
[base\shell\explorer\shell\fatfs.cpp:475]: (error) Common realloc mistake: '_CacheDty' nulled but not freed upon failure
[base\shell\explorer\taskbar\startmenu.cpp:1170]: (error) instance of "StartMenuCtrl" object destroyed immediately
[base\shell\explorer\taskbar\startmenu.cpp:1194]: (error) instance of "StartMenuSeparator" object destroyed immediately
[base\shell\explorer\utility\xs-native.cpp:104]: (error) Common realloc mistake: '_buffer' nulled but not freed upon failure
[base\shell\explorer-new\taskswnd.c:796]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[base\system\regsvr32\regsvr32.c:339]: (error) Uninitialized variable: lptMsgBuffer
[boot\freeldr\freeldr\arch\i386\drivemap.c:183]: (error) Possible null pointer dereference: RealModeIVT
[boot\freeldr\freeldr\arch\i386\drivemap.c:205]: (error) Possible null pointer dereference: RealModeIVT
[boot\freeldr\freeldr\arch\i386\drivemap.c:219]: (error) Possible null pointer dereference: RealModeIVT
[boot\freeldr\freeldr\arch\i386\xboxmem.c:59]: (error) Possible null pointer dereference: MembaseLow
[boot\freeldr\freeldr\arch\i386\xboxmem.c:50]: (error) Dangerous usage of 'ControlRegion' (not 0-terminated)
[boot\freeldr\freeldr\arch\powerpc\loader.c:142]: (error) Possible null pointer dereference: Function - otherwise it is redundant to check if Function is null at line 140
[boot\freeldr\freeldr\arch\powerpc\loader.c:172]: (error) Possible null pointer dereference: Function - otherwise it is redundant to check if Function is null at line 170
[boot\freeldr\freeldr\arch\powerpc\prep_ide.c:105]: (error) Dangerous usage of 'namebuf' (strncpy doesn't always 0-terminate it)
[dll\3rdparty\libjpeg\wrjpgcom.c:456]: (error) Possible null pointer dereference: comment_arg - otherwise it is redundant to check if comment_arg is null at line 454
[dll\3rdparty\libjpeg\wrjpgcom.c:583]: (error) Memory leak: comment_arg
[dll\3rdparty\libpng\pngrtran.c:2008]: (error) Analysis failed. If the code is valid then please report this failure.
[dll\3rdparty\libpng\pngrtran.c:1999]: (error) Analysis failed. If the code is valid then please report this failure.
[dll\3rdparty\libpng\pngrtran.c:1973]: (error) Analysis failed. If the code is valid then please report this failure.
[dll\3rdparty\libpng\pngrtran.c:1979]: (error) Analysis failed. If the code is valid then please report this failure.
[dll\3rdparty\libpng\pngrtran.c:2004]: (error) Analysis failed. If the code is valid then please report this failure.
[dll\3rdparty\libpng\pngrtran.c:1990]: (error) Analysis failed. If the code is valid then please report this failure.
[dll\3rdparty\libtiff\tif_ojpeg.c:639]: (error) syntax error
[dll\3rdparty\libxslt\attributes.c:666]: (error) Possible null pointer dereference: comp - otherwise it is redundant to check if comp is null at line 681
[dll\3rdparty\libxslt\transform.c:4251]: (error) Possible null pointer dereference: comp - otherwise it is redundant to check if comp is null at line 4232
[dll\3rdparty\libxslt\transform.c:4418]: (error) Possible null pointer dereference: comp - otherwise it is redundant to check if comp is null at line 4399
[dll\3rdparty\libxslt\transform.c:5324]: (error) Possible null pointer dereference: comp - otherwise it is redundant to check if comp is null at line 5303
[dll\3rdparty\libxslt\xslt.c:4369]: (error) Possible null pointer dereference: cctxt - otherwise it is redundant to check if cctxt is null at line 4366
[dll\3rdparty\mesa32\src\main\dlist.c:8231]: (error) Possible null pointer dereference: n - otherwise it is redundant to check if n is null at line 8227
[dll\3rdparty\mesa32\src\shader\atifragshader.c:293]: (error) Possible null pointer dereference: prog - otherwise it is redundant to check if prog is null at line 283
[dll\3rdparty\mesa32\src\shader\slang\slang_codegen.c:3828]: (error) Possible null pointer dereference: n - otherwise it is redundant to check if n is null at line 3820
[dll\3rdparty\mesa32\src\shader\slang\slang_link.c:136]: (error) Memory leak: map
[dll\cpl\desk\general.c:38]: (error) Undefined behavior: variable is used as parameter and destination in s[n]printf().
[dll\directx\ksproxy\output_pin.cpp:1679]: (performance) Possible inefficient checking for 'm_Plugins' emptiness.
[dll\directx\ksproxy\proxy.cpp:978]: (error) Possible null pointer dereference: pFormat - otherwise it is redundant to check if pFormat is null at line 983
[dll\directx\wine\d3d8\device.c:1002]: (error) Possible null pointer dereference: pSourceRects - otherwise it is redundant to check if pSourceRects is null at line 985
[dll\directx\wine\d3d8\device.c:1003]: (error) Possible null pointer dereference: pSourceRects - otherwise it is redundant to check if pSourceRects is null at line 985
[dll\win32\advpack\files.c:47]: (portability) Assigning an address value to the integer (int/long/etc) type is not portable
[dll\win32\comctl32\listview.c:4230]: (error) Possible null pointer dereference: lpItem - otherwise it is redundant to check if lpItem is null at line 4247
[dll\win32\comdlg32\filedlg31.c:712]: (portability) Assigning an address value to the integer (int/long/etc) type is not portable
[dll\win32\dbghelp\regex.c:1986]: (error) Memory leak: compile_stack.stack
[dll\win32\dbghelp\regex.c:5754]: (error) Memory leak: regs.start
[dll\win32\dbghelp\regex.c:5754]: (error) Memory leak: regs.end
[dll\win32\dbghelp\regex.c:1998]: (error) Memory leak: compile_stack.stack
[dll\win32\glu32\libnurbs\internals\curvelist.h:63]: (error) Memory leak: Curvelist::curve
[dll\win32\glu32\libnurbs\internals\patchlist.h:69]: (error) Memory leak: Patchlist::patch
[dll\win32\glu32\libnurbs\internals\tobezier.cc:100]: (error) Memory leak: Splinespec::kspec
[dll\win32\glu32\libnurbs\internals\tobezier.cc:102]: (error) Memory leak: Splinespec::outcpts
[dll\win32\kernel32\client\debugger.c:888]: (error) Possible null pointer dereference: a_cBuffer - otherwise it is redundant to check if a_cBuffer is null at line 893
[dll\win32\kernel32\wine\res.c:435]: (error) Analysis failed. If the code is valid then please report this failure.
[dll\win32\shdocvw\intshcut.c:641]: (error) syntax error
[dll\win32\twain_32\dsm_ctrl.c:149]: (error) Uninitialized variable: pSourceIdentity
[dll\win32\twain_32\dsm_ctrl.c:150]: (error) Uninitialized variable: pSourceIdentity
[dll\win32\user32\controls\edit.c:2239]: (error) Possible null pointer dereference: line_def - otherwise it is redundant to check if line_def is null at line 2233
[dll\win32\user32\misc\ddeserver.c:387]: (error) Possible null pointer dereference: pInstance - otherwise it is redundant to check if pInstance is null at line 388
[dll\win32\winhttp\inet_ntop.c:93]: (error) Uninitialized variable: tmp
[dll\win32\wininet\inet_ntop.c:91]: (error) Uninitialized variable: tmp
[dll\win32\ws2_32\misc\ns.c:676]: (error) Possible null pointer dereference: s - otherwise it is redundant to check if s is null at line 681
[dll\win32\ws2_32\misc\ns.c:677]: (error) Possible null pointer dereference: s - otherwise it is redundant to check if s is null at line 681
[dll\win32\ws2_32\misc\ns.c:679]: (error) Possible null pointer dereference: s - otherwise it is redundant to check if s is null at line 681
[dll\win32\ws2_32\misc\ns.c:680]: (error) Possible null pointer dereference: s - otherwise it is redundant to check if s is null at line 681
[drivers\bus\acpi\acpica\events\evregion.c:661]: (error) Possible null pointer dereference: HandlerObj - otherwise it is redundant to check if HandlerObj is null at line 652
[drivers\bus\acpi\acpica\executer\exresolv.c:548]: (error) Possible null pointer dereference: ObjDesc - otherwise it is redundant to check if ObjDesc is null at line 549
[drivers\bus\acpi\acpica\namespace\nsalloc.c:416]: (error) Possible null pointer dereference: ParentNode - otherwise it is redundant to check if ParentNode is null at line 409
[drivers\bus\acpi\acpica\parser\psscope.c:366]: (error) Possible null pointer dereference: ParserState - otherwise it is redundant to check if ParserState is null at line 359
[drivers\bus\acpi\busmgr\bus.c:733]: (error) Possible null pointer dereference: device
[drivers\bus\acpi\busmgr\bus.c:743]: (error) Possible null pointer dereference: device
[drivers\bus\acpi\busmgr\bus.c:753]: (error) Possible null pointer dereference: device
[drivers\bus\acpi\busmgr\bus.c:763]: (error) Possible null pointer dereference: device
[drivers\bus\acpi\busmgr\bus.c:769]: (error) Possible null pointer dereference: device
[drivers\bus\acpi\busmgr\bus.c:775]: (error) Possible null pointer dereference: device
[drivers\bus\acpi\busmgr\bus.c:781]: (error) Possible null pointer dereference: device
[drivers\bus\acpi\busmgr\bus.c:787]: (error) Possible null pointer dereference: device
[drivers\bus\acpi\cmbatt\cmbatt.c:933]: (error) Unsigned division. The result will be wrong.
[drivers\ksfilter\ks\swenum.c:1388]: (error) Possible null pointer dereference: BusDeviceExtension - otherwise it is redundant to check if BusDeviceExtension is null at line 1390
[drivers\storage\ide\uniata\id_ata.cpp:1280]: (error) Possible null pointer dereference: chan - otherwise it is redundant to check if chan is null at line 1302
[drivers\storage\ide\uniata\id_ata.cpp:1282]: (error) Possible null pointer dereference: chan - otherwise it is redundant to check if chan is null at line 1302
[drivers\storage\ide\uniata\id_ata.cpp:6929]: (error) Possible null pointer dereference: chan - otherwise it is redundant to check if chan is null at line 6931
[drivers\storage\ide\uniata\id_ata.cpp:6902]: (error) Buffer access out-of-bounds: inquiryData.VendorId
[drivers\storage\ide\uniata\id_dma.cpp:826]: (error) Possible null pointer dereference: chan - otherwise it is redundant to check if chan is null at line 891
[drivers\storage\ide\uniata\id_probe.cpp:2744]: (error) Possible null pointer dereference: chan - otherwise it is redundant to check if chan is null at line 2756
[drivers\storage\ide\uniata\id_probe.cpp:2836]: (error) Possible null pointer dereference: chan - otherwise it is redundant to check if chan is null at line 2869
[drivers\storage\ide\uniata\id_probe.cpp:3091]: (error) Possible null pointer dereference: chan - otherwise it is redundant to check if chan is null at line 3163
[drivers\storage\ide\uniata\id_probe.cpp:3100]: (error) Possible null pointer dereference: chan - otherwise it is redundant to check if chan is null at line 3163
[drivers\wdm\audio\drivers\CMIDriver\adapter.cpp:258]: (error) Possible null pointer dereference: pCMIAdapter - otherwise it is redundant to check if pCMIAdapter is null at line 343
[drivers\wdm\audio\drivers\CMIDriver\cmicontrol\main.cpp:243]: (error) Possible null pointer dereference: ds - otherwise it is redundant to check if ds is null at line 250
[drivers\wdm\audio\drivers\CMIDriver\cmicontrol\main.cpp:245]: (error) Possible null pointer dereference: ds - otherwise it is redundant to check if ds is null at line 250
[drivers\wdm\audio\drivers\CMIDriver\cmicontrol\main.cpp:290]: (error) Possible null pointer dereference: ds - otherwise it is redundant to check if ds is null at line 295
[drivers\wdm\audio\legacy\wdmaud\sup.c:379]: (error) Possible null pointer dereference: Device - otherwise it is redundant to check if Device is null at line 380
[include\c++\stlport\stl\_list.c:140]: (error) syntax error
[lib\3rdparty\adns\client\adnslogres.c:114]: (error) Array index -1 is out of bounds
[lib\3rdparty\adns\client\adnslogres.c:115]: (error) Array index -1 is out of bounds
[lib\3rdparty\bzip2\bzip2recover.c:312]: (error) Buffer overrun possible for long cmd-line args
[lib\3rdparty\bzip2\bzip2recover.c:425]: (error) Resource leak: inFile
[lib\3rdparty\bzip2\bzip2recover.c:508]: (error) Resource leak: outFile
[lib\3rdparty\bzip2\unzcrash.c:141]: (error) Resource leak: f
[lib\3rdparty\cardlib\cardstack.h:21]: (performance) Function parameter 'card' should be passed by reference.
[lib\3rdparty\cardlib\cardregion.h:92]: (performance) Function parameter 'card' should be passed by reference.
[lib\3rdparty\cardlib\cardstack.cpp:85]: (performance) Function parameter 'card' should be passed by reference.
[lib\3rdparty\expat\lib\xmlparse.c:1500]: (portability) Assigning an address value to the integer (int/long/etc) type is not portable
[lib\3rdparty\freetype\src\autofit\afcjk.c:189]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[lib\3rdparty\freetype\src\autofit\afcjk.c:255]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[lib\3rdparty\freetype\src\autofit\aflatin.c:902]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[lib\3rdparty\freetype\src\autofit\aflatin.c:2053]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[lib\3rdparty\freetype\src\autofit\aflatin2.c:954]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[lib\3rdparty\freetype\src\autofit\aflatin2.c:2204]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[lib\3rdparty\freetype\src\autofit\aflatin2.c:944]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[lib\3rdparty\freetype\src\base\ftdbgmem.c:349]: (error) Possible null pointer dereference: table - otherwise it is redundant to check if table is null at line 351
[lib\3rdparty\freetype\src\gxvalid\gxvmort.c:204]: (error) Possible null pointer dereference: func - otherwise it is redundant to check if func is null at line 201
[lib\3rdparty\freetype\src\gxvalid\gxvmorx.c:98]: (error) Possible null pointer dereference: func - otherwise it is redundant to check if func is null at line 95
[lib\3rdparty\freetype\src\pshinter\pshalgo.c:2055]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[lib\3rdparty\freetype\src\pshinter\pshalgo.c:2071]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[lib\3rdparty\freetype\src\truetype\ttinterp.c:1930]: (error) Uninitialized variable: __dummy
[lib\3rdparty\freetype\src\truetype\ttinterp.c:1942]: (error) Uninitialized variable: __dummy
[lib\3rdparty\freetype\src\truetype\ttinterp.c:1964]: (error) Uninitialized variable: __dummy
[lib\3rdparty\freetype\src\truetype\ttinterp.c:1975]: (error) Uninitialized variable: __dummy
[lib\3rdparty\freetype\src\truetype\ttinterp.c:2009]: (error) Uninitialized variable: __dummy
[lib\3rdparty\freetype\src\truetype\ttinterp.c:2050]: (error) Uninitialized variable: __dummy
[lib\3rdparty\freetype\src\truetype\ttinterp.c:2094]: (error) Uninitialized variable: __dummy
[lib\3rdparty\freetype\src\truetype\ttinterp.c:2136]: (error) Uninitialized variable: __dummy
[lib\3rdparty\freetype\src\truetype\ttinterp.c:2180]: (error) Uninitialized variable: __dummy
[lib\3rdparty\freetype\src\truetype\ttinterp.c:2224]: (error) Uninitialized variable: __dummy
[lib\3rdparty\freetype\src\truetype\ttinterp.c:2538]: (error) Uninitialized variable: __dummy
[lib\3rdparty\freetype\src\truetype\ttinterp.c:2565]: (error) Uninitialized variable: __dummy
[lib\3rdparty\freetype\src\truetype\ttinterp.c:2726]: (error) Uninitialized variable: __dummy
[lib\3rdparty\freetype\src\truetype\ttinterp.c:4414]: (error) Uninitialized variable: __dummy
[lib\3rdparty\freetype\src\truetype\ttinterp.c:4517]: (error) Uninitialized variable: __dummy
[lib\3rdparty\freetype\src\truetype\ttinterp.c:4634]: (error) Uninitialized variable: __dummy
[lib\3rdparty\freetype\src\truetype\ttinterp.c:5463]: (error) Uninitialized variable: __dummy
[lib\3rdparty\freetype\src\truetype\ttinterp.c:5674]: (error) Uninitialized variable: __dummy
[lib\3rdparty\freetype\src\truetype\ttinterp.c:6299]: (error) Uninitialized variable: __dummy
[lib\3rdparty\freetype\src\truetype\ttinterp.c:6471]: (error) Uninitialized variable: __dummy
[lib\3rdparty\freetype\src\truetype\ttinterp.c:6742]: (error) Uninitialized variable: __dummy
[lib\3rdparty\freetype\src\truetype\ttinterp.c:7058]: (error) Uninitialized variable: __dummy
[lib\3rdparty\libmpg123\icy2utf8.c:428]: (error) Memory leak: t
[lib\3rdparty\libmpg123\lfs_wrap.c:366]: (error) Possible null pointer dereference: fill - otherwise it is redundant to check if fill is null at line 363
[lib\3rdparty\libxml2\catalog.c:996]: (error) Resource leak: fd
[lib\3rdparty\libxml2\runtest.c:1686]: (error) Memory leak: temp
[lib\3rdparty\libxml2\xmlmemory.c:583]: (error) Possible null pointer dereference: p - otherwise it is redundant to check if p is null at line 586
[lib\3rdparty\libxml2\xmlregexp.c:5695]: (error) Possible null pointer dereference: atom - otherwise it is redundant to check if atom is null at line 5696
[lib\3rdparty\libxml2\xmlschemas.c:25206]: (error) Possible null pointer dereference: attrUseList - otherwise it is redundant to check if attrUseList is null at line 25200
[lib\3rdparty\libxml2\xmlschemastypes.c:1568]: (error) syntax error
[lib\3rdparty\stlport\test\eh\test_list.cpp:55]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[lib\3rdparty\stlport\test\unit\cstring_test.cpp:57]: (performance) Unnecessary comparison of static strings.
[lib\3rdparty\stlport\test\unit\ctype_facets_test.cpp:212]: (error) Array 'res[3]' index 4 out of bounds
[lib\3rdparty\stlport\test\unit\ctype_facets_test.cpp:213]: (error) Array 'res[3]' index 4 out of bounds
[lib\3rdparty\stlport\test\unit\ctype_facets_test.cpp:214]: (error) Array 'res[3]' index 4 out of bounds
[lib\3rdparty\stlport\test\unit\deque_test.cpp:77]: (error) Dangerous container iterator compare using < operator for deque
[lib\3rdparty\stlport\test\unit\hash_test.cpp:130]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[lib\3rdparty\stlport\test\unit\hash_test.cpp:133]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[lib\3rdparty\stlport\test\unit\hash_test.cpp:136]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[lib\3rdparty\stlport\test\unit\list_test.cpp:454]: (performance) Possible inefficient checking for 'lbar' emptiness.
[lib\3rdparty\stlport\test\unit\list_test.cpp:103]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[lib\3rdparty\stlport\test\unit\map_test.cpp:98]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[lib\3rdparty\stlport\test\unit\map_test.cpp:101]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[lib\3rdparty\stlport\test\unit\map_test.cpp:104]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[lib\3rdparty\stlport\test\unit\slist_test.cpp:78]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[lib\3rdparty\stlport\test\unit\slist_test.cpp:87]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[lib\3rdparty\stlport\test\unit\slist_test.cpp:97]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[lib\3rdparty\stlport\test\unit\slist_test.cpp:106]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[lib\3rdparty\stlport\test\unit\vector_test.cpp:74]: (performance) Possible inefficient checking for 'v1' emptiness.
[lib\drivers\lwip\src\api\api_msg.c:225]: (error) Possible null pointer dereference: conn - otherwise it is redundant to check if conn is null at line 227
[lib\drivers\lwip\src\api\api_msg.c:320]: (error) Possible null pointer dereference: conn - otherwise it is redundant to check if conn is null at line 326
[lib\drivers\lwip\src\api\api_msg.c:322]: (error) Possible null pointer dereference: conn - otherwise it is redundant to check if conn is null at line 326
[lib\drivers\lwip\src\core\ipv4\igmp.c:813]: (error) Possible null pointer dereference: igmp
[lib\sdk\crt\float\i386\statfp.c:35]: (error) Uninitialized variable: fpword
[lib\sdk\crt\math\j0_y0.c:32]: (error) Passing value -1 to sqrt() leads to undefined result
[lib\sdk\crt\math\j1_y1.c:32]: (error) Passing value -1 to sqrt() leads to undefined result
[lib\sdk\crt\math\jn_yn.c:29]: (error) Passing value -1 to sqrt() leads to undefined result
[lib\sdk\crt\string\itoa.c:97]: (portability) Assigning an address value to the integer (int/long/etc) type is not portable
[lib\sdk\crt\string\itoa.c:306]: (portability) Assigning an address value to the integer (int/long/etc) type is not portable
[lib\sdk\crt\string\itow.c:108]: (portability) Assigning an address value to the integer (int/long/etc) type is not portable
[lib\sdk\crt\string\itow.c:323]: (portability) Assigning an address value to the integer (int/long/etc) type is not portable
[ntoskrnl\cache\section\sptab.c:124]: (error) Possible null pointer dereference: PageTableSlice - otherwise it is redundant to check if PageTableSlice is null at line 125
[ntoskrnl\kdbg\amd64\i386-dis.c:3017]: (error) Unusual pointer arithmetic
[ntoskrnl\kdbg\amd64\i386-dis.c:3022]: (error) Unusual pointer arithmetic
[ntoskrnl\kdbg\amd64\i386-dis.c:3027]: (error) Unusual pointer arithmetic
[ntoskrnl\kdbg\amd64\i386-dis.c:3032]: (error) Unusual pointer arithmetic
[ntoskrnl\kdbg\amd64\i386-dis.c:3037]: (error) Unusual pointer arithmetic
[ntoskrnl\kdbg\amd64\i386-dis.c:3042]: (error) Unusual pointer arithmetic
[ntoskrnl\kdbg\amd64\i386-dis.c:3959]: (error) Unusual pointer arithmetic
[ntoskrnl\kdbg\i386\i386-dis.c:3015]: (error) Unusual pointer arithmetic
[ntoskrnl\kdbg\i386\i386-dis.c:3020]: (error) Unusual pointer arithmetic
[ntoskrnl\kdbg\i386\i386-dis.c:3025]: (error) Unusual pointer arithmetic
[ntoskrnl\kdbg\i386\i386-dis.c:3030]: (error) Unusual pointer arithmetic
[ntoskrnl\kdbg\i386\i386-dis.c:3035]: (error) Unusual pointer arithmetic
[ntoskrnl\kdbg\i386\i386-dis.c:3040]: (error) Unusual pointer arithmetic
[ntoskrnl\kdbg\i386\i386-dis.c:3952]: (error) Unusual pointer arithmetic
[ntoskrnl\mm\ARM3\expool.c:2084]: (error) Using sizeof with a numeric constant as function argument might not be what you intended.
[ntoskrnl\mm\ARM3\expool.c:1118]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[ntoskrnl\mm\ARM3\mminit.c:1116]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[subsystems\ntvdm\ntvdm.c:311]: (error) Buffer access out-of-bounds
[tools\cabman\cabinet.cxx:2058]: (error) Memory leak: FileNode
[tools\cabman\cabinet.cxx:2625]: (error) Memory leak: Node
[tools\ms2ps\ms2ps.cpp:239]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[tools\ms2ps\ms2ps.cpp:259]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[tools\ms2ps\ms2ps.cpp:265]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[tools\ms2ps\ms2ps.cpp:295]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[tools\ms2ps\ms2ps.cpp:312]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[tools\ms2ps\ms2ps.cpp:334]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[tools\ms2ps\ms2ps.cpp:392]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[tools\ms2ps\ms2ps.cpp:398]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[tools\rsym\rsym.c:604]: (performance) Prefer prefix ++/-- operators for non-primitive types.

Heis Spiter
Posts: 183
Joined: Sun Sep 03, 2006 11:39 am
Location: Paris, France
Contact:

Re: Debugger

Post by Heis Spiter »

Hi,

you're not the first one, nor the last one to come with such output. So let me remind that we have a daily cppcheck run (with adapted configuration) that is already performed on our servers.
Results can be found here: http://fezile.reactos.org/cppcheck/

Regards,
Pierre
Pierre Schweitzer (aka Heis Spiter)
ReactOS kernel developer.
ReactOS systems administrator.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Yandex [Bot] and 2 guests