Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1485237 Details for
Bug 1630845
Coverity/cppcheck scan reports issues
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
scan-results for 3.44-1
scan-results.html (text/html), 67.74 KB, created by
Milan Crha
on 2018-09-20 17:13:51 UTC
(
hide
)
Description:
scan-results for 3.44-1
Filename:
MIME Type:
Creator:
Milan Crha
Created:
2018-09-20 17:13:51 UTC
Size:
67.74 KB
patch
obsolete
><?xml version='1.0' encoding='utf-8'?> ><!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.1//EN' 'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd'> ><html xmlns='http://www.w3.org/1999/xhtml'> ><head><title>highlight-3.44-1.fc30</title></head> ><body style='background: white;'> ><h1>highlight-3.44-1.fc30</h1> ><h2>List of Defects</h2> ><pre style='white-space: pre-wrap;'> ><a name='def1'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def1'>[#def1]</a> ><span style='color: #808080;'>highlight-3.44/src/cli/cmdlineoptions.h:446: <b>member_decl</b>: Class member declaration for "opt_asformat_output".</span> >highlight-3.44/src/cli/cmdlineoptions.cpp:241: <b>uninit_member</b>: Non-static class member "opt_asformat_output" is not initialized in this constructor nor in any functions that it calls. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 239| }</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 240| }</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 241|-> }</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 242| </span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 243| CmdLineOptions::~CmdLineOptions() {}</span></span> > ><a name='def2'/><b>Error: <span style='background: #C0FF00;'>MISSING_BREAK</span> (CWE-484):</b> <a href ='#def2'>[#def2]</a> ><span style='color: #808080;'>highlight-3.44/src/cli/cmdlineoptions.cpp:347: <b>unterminated_case</b>: The case for value "S_OPT_COMPAT_LINENUM" is not terminated by a 'break' statement.</span> >highlight-3.44/src/cli/cmdlineoptions.cpp:349: <b>fallthrough</b>: The above case falls through to this one. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 347| case S_OPT_COMPAT_LINENUM:</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 348| if ( arg=="0" ) opt_fill_zeroes=true;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 349|-> case 'l':</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 350| opt_linenumbers = true;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 351| break;</span></span> > ><a name='def3'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def3'>[#def3]</a> ><span style='color: #808080;'>highlight-3.44/src/include/Diluculum/LuaFunction.hpp:210: <b>member_decl</b>: Class member declaration for "readerFlag_".</span> >highlight-3.44/src/core/Diluculum/LuaFunction.cpp:39: <b>uninit_member</b>: Non-static class member "readerFlag_" is not initialized in this constructor nor in any functions that it calls. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 37| data_.typeLuaFunction = new char[size_];</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 38| memcpy(data_.typeLuaFunction, luaChunk.c_str(), size_);</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 39|-> }</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 40| </span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 41| LuaFunction::LuaFunction (const void* data, size_t size)</span></span> > ><a name='def4'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def4'>[#def4]</a> ><span style='color: #808080;'>highlight-3.44/src/include/Diluculum/LuaFunction.hpp:210: <b>member_decl</b>: Class member declaration for "readerFlag_".</span> >highlight-3.44/src/core/Diluculum/LuaFunction.cpp:46: <b>uninit_member</b>: Non-static class member "readerFlag_" is not initialized in this constructor nor in any functions that it calls. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 44| data_.typeLuaFunction = new char[size_];</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 45| memcpy(data_.typeLuaFunction, data, size);</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 46|-> }</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 47| </span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 48| LuaFunction::LuaFunction (lua_CFunction func)</span></span> > ><a name='def5'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def5'>[#def5]</a> ><span style='color: #808080;'>highlight-3.44/src/include/Diluculum/LuaFunction.hpp:210: <b>member_decl</b>: Class member declaration for "readerFlag_".</span> >highlight-3.44/src/core/Diluculum/LuaFunction.cpp:52: <b>uninit_member</b>: Non-static class member "readerFlag_" is not initialized in this constructor nor in any functions that it calls. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 50| {</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 51| data_.typeCFunction = func;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 52|-> }</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 53| </span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 54| LuaFunction::LuaFunction (const LuaFunction& other)</span></span> > ><a name='def6'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def6'>[#def6]</a> ><span style='color: #808080;'>highlight-3.44/src/include/Diluculum/LuaFunction.hpp:210: <b>member_decl</b>: Class member declaration for "readerFlag_".</span> >highlight-3.44/src/core/Diluculum/LuaFunction.cpp:70: <b>uninit_member</b>: Non-static class member "readerFlag_" is not initialized in this constructor nor in any functions that it calls. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 68| break;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 69| }</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 70|-> }</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 71| </span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 72| </span></span> > ><a name='def7'/><b>Error: <span style='background: #C0FF00;'>UNCAUGHT_EXCEPT</span> (CWE-248):</b> <a href ='#def7'>[#def7]</a> ><span style='color: #808080;'>highlight-3.44/src/cli/main.cpp:707: <b>root_function</b>: In function "main(int, char const **)" an exception of type "Diluculum::LuaTypeError" is thrown and never caught.</span> ><span style='color: #808080;'>highlight-3.44/src/cli/main.cpp:710: <b>fun_call_w_exception</b>: Called function throws an exception of type "Diluculum::LuaTypeError".</span> ><span style='color: #808080;'>highlight-3.44/src/cli/main.cpp:419:9: <b>fun_call_w_exception</b>: Called function throws an exception of type "Diluculum::LuaTypeError".</span> ><span style='color: #808080;'>highlight-3.44/src/cli/main.cpp:133:9: <b>fun_call_w_exception</b>: Called function throws an exception of type "Diluculum::LuaTypeError".</span> ><span style='color: #808080;'>highlight-3.44/src/core/Diluculum/LuaVariable.cpp:66:20: <b>fun_call_w_exception</b>: Called function throws an exception of type "Diluculum::LuaTypeError".</span> >highlight-3.44/src/core/Diluculum/LuaUtils.cpp:116:13: <b>exception_thrown</b>: An exception of type "Diluculum::LuaTypeError" is thrown. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 114| default:</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 115| {</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 116|-> throw LuaTypeError(</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 117| ("Unsupported type found in call to 'ToLuaValue()': "</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 118| + boost::lexical_cast<std::string>(lua_type (state, index))</span></span> > ><a name='def8'/><b>Error: <span style='background: #C0FF00;'>UNCAUGHT_EXCEPT</span> (CWE-248):</b> <a href ='#def8'>[#def8]</a> ><span style='color: #808080;'>/usr/include/c++/8/bits/move.h:47: <b>exn_spec_violation</b>: An exception of type "Diluculum::TypeMismatchError" is thrown but the throw list "throw()" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().</span> ><span style='color: #808080;'>/usr/include/c++/8/bits/move.h:48: <b>fun_call_w_exception</b>: Called function throws an exception of type "Diluculum::TypeMismatchError".</span> ><span style='color: #808080;'>highlight-3.44/src/core/Diluculum/LuaValue.cpp:178:13: <b>fun_call_w_exception</b>: Called function throws an exception of type "Diluculum::TypeMismatchError".</span> >highlight-3.44/src/core/Diluculum/LuaValue.cpp:325:10: <b>exception_thrown</b>: An exception of type "Diluculum::TypeMismatchError" is thrown. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 323| else</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 324| {</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 325|-> throw TypeMismatchError ("string", typeName());</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 326| }</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 327| }</span></span> > ><a name='def9'/><b>Error: <span style='background: #C0FF00;'>CTOR_DTOR_LEAK</span> (CWE-772):</b> <a href ='#def9'>[#def9]</a> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:76: <b>alloc_new</b>: Allocating memory by calling "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:76: <b>var_assign</b>: Assigning: "this->headers" = "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> >highlight-3.44/src/core/astyle/ASBeautifier.cpp:76: <b>ctor_dtor_leak</b>: The constructor allocates field "headers" of "astyle::ASBeautifier" but the destructor and whatever functions it calls do not free it. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 74| // initialize ASBeautifier member vectors</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 75| beautifierFileType = 9; // reset to an invalid type</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 76|-> headers = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 77| nonParenHeaders = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 78| assignmentOperators = new vector<const string*>;</span></span> > ><a name='def10'/><b>Error: <span style='background: #C0FF00;'>CTOR_DTOR_LEAK</span> (CWE-772):</b> <a href ='#def10'>[#def10]</a> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:77: <b>alloc_new</b>: Allocating memory by calling "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:77: <b>var_assign</b>: Assigning: "this->nonParenHeaders" = "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> >highlight-3.44/src/core/astyle/ASBeautifier.cpp:77: <b>ctor_dtor_leak</b>: The constructor allocates field "nonParenHeaders" of "astyle::ASBeautifier" but the destructor and whatever functions it calls do not free it. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 75| beautifierFileType = 9; // reset to an invalid type</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 76| headers = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 77|-> nonParenHeaders = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 78| assignmentOperators = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 79| nonAssignmentOperators = new vector<const string*>;</span></span> > ><a name='def11'/><b>Error: <span style='background: #C0FF00;'>CTOR_DTOR_LEAK</span> (CWE-772):</b> <a href ='#def11'>[#def11]</a> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:78: <b>alloc_new</b>: Allocating memory by calling "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:78: <b>var_assign</b>: Assigning: "this->assignmentOperators" = "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> >highlight-3.44/src/core/astyle/ASBeautifier.cpp:78: <b>ctor_dtor_leak</b>: The constructor allocates field "assignmentOperators" of "astyle::ASBeautifier" but the destructor and whatever functions it calls do not free it. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 76| headers = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 77| nonParenHeaders = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 78|-> assignmentOperators = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 79| nonAssignmentOperators = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 80| preBlockStatements = new vector<const string*>;</span></span> > ><a name='def12'/><b>Error: <span style='background: #C0FF00;'>CTOR_DTOR_LEAK</span> (CWE-772):</b> <a href ='#def12'>[#def12]</a> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:79: <b>alloc_new</b>: Allocating memory by calling "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:79: <b>var_assign</b>: Assigning: "this->nonAssignmentOperators" = "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> >highlight-3.44/src/core/astyle/ASBeautifier.cpp:79: <b>ctor_dtor_leak</b>: The constructor allocates field "nonAssignmentOperators" of "astyle::ASBeautifier" but the destructor and whatever functions it calls do not free it. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 77| nonParenHeaders = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 78| assignmentOperators = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 79|-> nonAssignmentOperators = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 80| preBlockStatements = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 81| preCommandHeaders = new vector<const string*>;</span></span> > ><a name='def13'/><b>Error: <span style='background: #C0FF00;'>CTOR_DTOR_LEAK</span> (CWE-772):</b> <a href ='#def13'>[#def13]</a> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:80: <b>alloc_new</b>: Allocating memory by calling "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:80: <b>var_assign</b>: Assigning: "this->preBlockStatements" = "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> >highlight-3.44/src/core/astyle/ASBeautifier.cpp:80: <b>ctor_dtor_leak</b>: The constructor allocates field "preBlockStatements" of "astyle::ASBeautifier" but the destructor and whatever functions it calls do not free it. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 78| assignmentOperators = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 79| nonAssignmentOperators = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 80|-> preBlockStatements = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 81| preCommandHeaders = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 82| indentableHeaders = new vector<const string*>;</span></span> > ><a name='def14'/><b>Error: <span style='background: #C0FF00;'>CTOR_DTOR_LEAK</span> (CWE-772):</b> <a href ='#def14'>[#def14]</a> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:81: <b>alloc_new</b>: Allocating memory by calling "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:81: <b>var_assign</b>: Assigning: "this->preCommandHeaders" = "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> >highlight-3.44/src/core/astyle/ASBeautifier.cpp:81: <b>ctor_dtor_leak</b>: The constructor allocates field "preCommandHeaders" of "astyle::ASBeautifier" but the destructor and whatever functions it calls do not free it. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 79| nonAssignmentOperators = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 80| preBlockStatements = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 81|-> preCommandHeaders = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 82| indentableHeaders = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 83| }</span></span> > ><a name='def15'/><b>Error: <span style='background: #C0FF00;'>CTOR_DTOR_LEAK</span> (CWE-772):</b> <a href ='#def15'>[#def15]</a> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:82: <b>alloc_new</b>: Allocating memory by calling "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:82: <b>var_assign</b>: Assigning: "this->indentableHeaders" = "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> >highlight-3.44/src/core/astyle/ASBeautifier.cpp:82: <b>ctor_dtor_leak</b>: The constructor allocates field "indentableHeaders" of "astyle::ASBeautifier" but the destructor and whatever functions it calls do not free it. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 80| preBlockStatements = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 81| preCommandHeaders = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 82|-> indentableHeaders = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 83| }</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 84| </span></span> > ><a name='def16'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def16'>[#def16]</a> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "lineIsLineCommentOnly" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:543: <b>member_decl</b>: Class member declaration for "shouldIndentBracedLine".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "shouldIndentBracedLine" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:544: <b>member_decl</b>: Class member declaration for "isInSwitch".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "isInSwitch" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:545: <b>member_decl</b>: Class member declaration for "foundPreCommandHeader".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "foundPreCommandHeader" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:546: <b>member_decl</b>: Class member declaration for "foundPreCommandMacro".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "foundPreCommandMacro" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:549: <b>member_decl</b>: Class member declaration for "indentCount".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "indentCount" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:550: <b>member_decl</b>: Class member declaration for "spaceIndentCount".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "spaceIndentCount" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:551: <b>member_decl</b>: Class member declaration for "spaceIndentObjCMethodAlignment".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "spaceIndentObjCMethodAlignment" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:552: <b>member_decl</b>: Class member declaration for "bracePosObjCMethodAlignment".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "bracePosObjCMethodAlignment" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:553: <b>member_decl</b>: Class member declaration for "colonIndentObjCMethodAlignment".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "colonIndentObjCMethodAlignment" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:554: <b>member_decl</b>: Class member declaration for "lineOpeningBlocksNum".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "lineOpeningBlocksNum" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:555: <b>member_decl</b>: Class member declaration for "lineClosingBlocksNum".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "lineClosingBlocksNum" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:558: <b>member_decl</b>: Class member declaration for "minConditionalIndent".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "minConditionalIndent" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:559: <b>member_decl</b>: Class member declaration for "parenDepth".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "parenDepth" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:563: <b>member_decl</b>: Class member declaration for "blockTabCount".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "blockTabCount" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:566: <b>member_decl</b>: Class member declaration for "templateDepth".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "templateDepth" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:567: <b>member_decl</b>: Class member declaration for "squareBracketCount".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "squareBracketCount" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:568: <b>member_decl</b>: Class member declaration for "prevFinalLineSpaceIndentCount".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "prevFinalLineSpaceIndentCount" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:569: <b>member_decl</b>: Class member declaration for "prevFinalLineIndentCount".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "prevFinalLineIndentCount" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:570: <b>member_decl</b>: Class member declaration for "defineIndentCount".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "defineIndentCount" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:571: <b>member_decl</b>: Class member declaration for "preprocBlockIndent".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "preprocBlockIndent" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:572: <b>member_decl</b>: Class member declaration for "quoteChar".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "quoteChar" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:573: <b>member_decl</b>: Class member declaration for "prevNonSpaceCh".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "prevNonSpaceCh" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:574: <b>member_decl</b>: Class member declaration for "currentNonSpaceCh".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "currentNonSpaceCh" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:575: <b>member_decl</b>: Class member declaration for "currentNonLegalCh".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "currentNonLegalCh" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:576: <b>member_decl</b>: Class member declaration for "prevNonLegalCh".</span> >highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "prevNonLegalCh" is not initialized in this constructor nor in any functions that it calls. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 81| preCommandHeaders = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 82| indentableHeaders = new vector<const string*>;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 83|-> }</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 84| </span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 85| /**</span></span> > ><a name='def17'/><b>Error: <span style='background: #C0FF00;'>REVERSE_NEGATIVE</span> (CWE-191):</b> <a href ='#def17'>[#def17]</a> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:1477: <b>negative_sink_in_call</b>: Passing "end" to a parameter that cannot be negative. [Note: The source code implementation of the function has been overridden by a builtin model.]</span> >highlight-3.44/src/core/astyle/ASBeautifier.cpp:1481: <b>check_after_sink</b>: You might be using variable "end" before verifying that it is >= 0. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1479| </span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1480| // don't trim if it ends in a continuation</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 1481|-> if (end > -1 && str[end] == '\\')</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1482| end = str.length() - 1;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1483| </span></span> > ><a name='def18'/><b>Error: <span style='background: #C0FF00;'>NEGATIVE_RETURNS</span> (CWE-394):</b> <a href ='#def18'>[#def18]</a> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:2320: <b>negative_return_fn</b>: Function "convertedLine.find('[', 0UL)" returns a negative number. [Note: The source code implementation of the function has been overridden by a builtin model.]</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:2320: <b>var_assign</b>: Assigning: signed variable "this->bracePosObjCMethodAlignment" = "find".</span> >highlight-3.44/src/core/astyle/ASBeautifier.cpp:2321: <b>negative_returns</b>: "this->bracePosObjCMethodAlignment" is passed to a parameter that cannot be negative. ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:2434:2: <b>neg_sink_parm_call</b>: Passing "bracePos" to "operator []", which cannot accept a negative number. [Note: The source code implementation of the function has been overridden by a builtin model.]</span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2319| string convertedLine = getIndentedSpaceEquivalent(line_);</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2320| bracePosObjCMethodAlignment = convertedLine.find('[');</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 2321|-> keywordIndentObjCMethodAlignment =</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2322| getObjCFollowingKeyword(convertedLine, bracePosObjCMethodAlignment);</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2323| colonIndentObjCMethodAlignment = findObjCColonAlignment(convertedLine);</span></span> > ><a name='def19'/><b>Error: <span style='background: #C0FF00;'>NEGATIVE_RETURNS</span> (CWE-394):</b> <a href ='#def19'>[#def19]</a> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:2357: <b>negative_return_fn</b>: Function "convertedLine.find('[', 0UL)" returns a negative number. [Note: The source code implementation of the function has been overridden by a builtin model.]</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:2357: <b>var_assign</b>: Assigning: signed variable "this->bracePosObjCMethodAlignment" = "find".</span> >highlight-3.44/src/core/astyle/ASBeautifier.cpp:2358: <b>negative_returns</b>: "this->bracePosObjCMethodAlignment" is passed to a parameter that cannot be negative. ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:2434:2: <b>neg_sink_parm_call</b>: Passing "bracePos" to "operator []", which cannot accept a negative number. [Note: The source code implementation of the function has been overridden by a builtin model.]</span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2356| string convertedLine = getIndentedSpaceEquivalent(line_);</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2357| bracePosObjCMethodAlignment = convertedLine.find('[');</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 2358|-> keywordIndentObjCMethodAlignment =</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2359| getObjCFollowingKeyword(convertedLine, bracePosObjCMethodAlignment);</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2360| }</span></span> > ><a name='def20'/><b>Error: <span style='background: #C0FF00;'>COPY_PASTE_ERROR</span> (CWE-398):</b> <a href ='#def20'>[#def20]</a> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:2450: <b>original</b>: "searchBeg + 1UL" looks like the original copy.</span> >highlight-3.44/src/core/astyle/ASBeautifier.cpp:2442: <b>copy_paste_error</b>: "searchBeg" in "searchBeg + 1UL" looks like a copy-paste error. ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:2442: <b>remediation</b>: Should it say "objectEnd" instead?</span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2440| if (line[searchBeg] == '[')</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2441| {</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 2442|-> objectEnd = line.find(']', searchBeg + 1);</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2443| if (objectEnd == string::npos)</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2444| return 0;</span></span> > ><a name='def21'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def21'>[#def21]</a> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostNonInStmt" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1031: <b>member_decl</b>: Class member declaration for "isCharImmediatelyPostNonInStmt".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isCharImmediatelyPostNonInStmt" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1032: <b>member_decl</b>: Class member declaration for "isImmediatelyPostComment".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostComment" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1033: <b>member_decl</b>: Class member declaration for "isImmediatelyPostLineComment".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostLineComment" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1034: <b>member_decl</b>: Class member declaration for "isImmediatelyPostEmptyBlock".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostEmptyBlock" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1035: <b>member_decl</b>: Class member declaration for "isImmediatelyPostObjCMethodPrefix".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostObjCMethodPrefix" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1036: <b>member_decl</b>: Class member declaration for "isImmediatelyPostPreprocessor".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostPreprocessor" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1037: <b>member_decl</b>: Class member declaration for "isImmediatelyPostReturn".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostReturn" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1038: <b>member_decl</b>: Class member declaration for "isImmediatelyPostThrow".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostThrow" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1039: <b>member_decl</b>: Class member declaration for "isImmediatelyPostNewDelete".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostNewDelete" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1040: <b>member_decl</b>: Class member declaration for "isImmediatelyPostOperator".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostOperator" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1041: <b>member_decl</b>: Class member declaration for "isImmediatelyPostTemplate".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostTemplate" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1042: <b>member_decl</b>: Class member declaration for "isImmediatelyPostPointerOrReference".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostPointerOrReference" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1045: <b>member_decl</b>: Class member declaration for "isPrependPostBlockEmptyLineRequested".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isPrependPostBlockEmptyLineRequested" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1046: <b>member_decl</b>: Class member declaration for "isAppendPostBlockEmptyLineRequested".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isAppendPostBlockEmptyLineRequested" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1047: <b>member_decl</b>: Class member declaration for "isIndentableProprocessor".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isIndentableProprocessor" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1048: <b>member_decl</b>: Class member declaration for "isIndentableProprocessorBlock".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isIndentableProprocessorBlock" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1049: <b>member_decl</b>: Class member declaration for "prependEmptyLine".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "prependEmptyLine" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1050: <b>member_decl</b>: Class member declaration for "appendOpeningBrace".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "appendOpeningBrace" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1051: <b>member_decl</b>: Class member declaration for "foundClosingHeader".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "foundClosingHeader" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1052: <b>member_decl</b>: Class member declaration for "isInHeader".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isInHeader" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1053: <b>member_decl</b>: Class member declaration for "isImmediatelyPostHeader".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostHeader" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1054: <b>member_decl</b>: Class member declaration for "isInCase".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isInCase" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1055: <b>member_decl</b>: Class member declaration for "isFirstPreprocConditional".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isFirstPreprocConditional" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1056: <b>member_decl</b>: Class member declaration for "processedFirstConditional".</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "processedFirstConditional" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1057: <b>member_decl</b>: Class member declaration for "isJavaStaticConstructor".</span> >highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isJavaStaticConstructor" is not initialized in this constructor nor in any functions that it calls. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 97| // initialize ASEnhancer member vectors</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 98| indentableMacros = new vector<const pair<const string, const string>* >;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 99|-> }</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 100| </span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 101| /**</span></span> > ><a name='def22'/><b>Error: <span style='background: #C0FF00;'>DEADCODE</span> (CWE-561):</b> <a href ='#def22'>[#def22]</a> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:3471: <b>cond_cannot_single</b>: Condition "nextText == 18446744073709551615UL", taking false branch. Now the value of "nextText" cannot be equal to -1.</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:3474: <b>cannot_single</b>: At condition "nextText == 18446744073709551615UL", the value of "nextText" cannot be equal to -1.</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:3474: <b>dead_error_condition</b>: The condition "nextText == 18446744073709551615UL" cannot be true.</span> >highlight-3.44/src/core/astyle/ASFormatter.cpp:3475: <b>dead_error_line</b>: Execution cannot reach this statement: "return false;". ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 3473| size_t nextText2 = line.find_first_not_of(" \t", nextText + 1);</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 3474| if (nextText == string::npos)</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 3475|-> return false;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 3476| if (line[nextText2] == ')' || line[nextText2] == '*')</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 3477| return true;</span></span> > ><a name='def23'/><b>Error: <span style='background: #C0FF00;'>NEGATIVE_RETURNS</span> (CWE-394):</b> <a href ='#def23'>[#def23]</a> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:3473: <b>negative_return_fn</b>: Function "line->find_first_not_of(" \t", nextText + 1UL)" returns a negative number. [Note: The source code implementation of the function has been overridden by a builtin model.]</span> ><span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:3473: <b>var_assign</b>: Assigning: unsigned variable "nextText2" = "find_first_not_of".</span> >highlight-3.44/src/core/astyle/ASFormatter.cpp:3476: <b>negative_returns</b>: "nextText2" is passed to a parameter that cannot be negative. [Note: The source code implementation of the function has been overridden by a builtin model.] ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 3474| if (nextText == string::npos)</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 3475| return false;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 3476|-> if (line[nextText2] == ')' || line[nextText2] == '*')</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 3477| return true;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 3478| return false;</span></span> > ><a name='def24'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def24'>[#def24]</a> ><span style='color: #808080;'>highlight-3.44/src/include/codegenerator.h:592: <b>member_decl</b>: Class member declaration for "currentState".</span> ><span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:153: <b>uninit_member</b>: Non-static class member "currentState" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/codegenerator.h:598: <b>member_decl</b>: Class member declaration for "currentKeywordClass".</span> ><span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:153: <b>uninit_member</b>: Non-static class member "currentKeywordClass" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/codegenerator.h:657: <b>member_decl</b>: Class member declaration for "numberCurrentLine".</span> >highlight-3.44/src/core/codegenerator.cpp:153: <b>uninit_member</b>: Non-static class member "numberCurrentLine" is not initialized in this constructor nor in any functions that it calls. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 151| outputType ( type )</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 152| {</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 153|-> }</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 154| </span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 155| </span></span> > ><a name='def25'/><b>Error: <span style='background: #C0FF00;'>DEADCODE</span> (CWE-561):</b> <a href ='#def25'>[#def25]</a> ><span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1032: <b>assignment</b>: Assigning: "align" = "0".</span> ><span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1036: <b>const</b>: At condition "align == 1", the value of "align" must be equal to 0.</span> ><span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1036: <b>dead_error_condition</b>: The condition "align == 1" cannot be true.</span> >highlight-3.44/src/core/codegenerator.cpp:1037: <b>dead_error_line</b>: Execution cannot reach this statement: "this->formatter->setPointer...". ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1035| align = atoi(styleParam.c_str());</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1036| else if (align == 1)</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 1037|-> formatter->setPointerAlignment(astyle::PTR_ALIGN_TYPE);</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1038| else if (align == 2)</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1039| formatter->setPointerAlignment(astyle::PTR_ALIGN_MIDDLE);</span></span> > ><a name='def26'/><b>Error: <span style='background: #C0FF00;'>DEADCODE</span> (CWE-561):</b> <a href ='#def26'>[#def26]</a> ><span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1032: <b>assignment</b>: Assigning: "align" = "0".</span> ><span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1038: <b>const</b>: At condition "align == 2", the value of "align" must be equal to 0.</span> ><span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1038: <b>dead_error_condition</b>: The condition "align == 2" cannot be true.</span> >highlight-3.44/src/core/codegenerator.cpp:1039: <b>dead_error_line</b>: Execution cannot reach this statement: "this->formatter->setPointer...". ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1037| formatter->setPointerAlignment(astyle::PTR_ALIGN_TYPE);</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1038| else if (align == 2)</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 1039|-> formatter->setPointerAlignment(astyle::PTR_ALIGN_MIDDLE);</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1040| else if (align == 3)</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1041| formatter->setPointerAlignment(astyle::PTR_ALIGN_NAME);</span></span> > ><a name='def27'/><b>Error: <span style='background: #C0FF00;'>DEADCODE</span> (CWE-561):</b> <a href ='#def27'>[#def27]</a> ><span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1032: <b>assignment</b>: Assigning: "align" = "0".</span> ><span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1040: <b>const</b>: At condition "align == 3", the value of "align" must be equal to 0.</span> ><span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1040: <b>dead_error_condition</b>: The condition "align == 3" cannot be true.</span> >highlight-3.44/src/core/codegenerator.cpp:1041: <b>dead_error_line</b>: Execution cannot reach this statement: "this->formatter->setPointer...". ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1039| formatter->setPointerAlignment(astyle::PTR_ALIGN_MIDDLE);</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1040| else if (align == 3)</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 1041|-> formatter->setPointerAlignment(astyle::PTR_ALIGN_NAME);</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1042| }</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1043| else if (isOption(arg, "align-reference=none"))</span></span> > ><a name='def28'/><b>Error: <span style='background: #C0FF00;'>DEADCODE</span> (CWE-561):</b> <a href ='#def28'>[#def28]</a> ><span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1061: <b>assignment</b>: Assigning: "align" = "0".</span> ><span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1065: <b>const</b>: At condition "align == 0", the value of "align" must be equal to 0.</span> ><span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1065: <b>dead_error_condition</b>: The condition "align == 0" must be true.</span> >highlight-3.44/src/core/codegenerator.cpp:1067: <b>dead_error_line</b>: Execution cannot reach this statement: "if (align == 1) > this->for...". ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1065| else if (align == 0)</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1066| formatter->setReferenceAlignment(astyle::REF_ALIGN_NONE);</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 1067|-> else if (align == 1)</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1068| formatter->setReferenceAlignment(astyle::REF_ALIGN_TYPE);</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1069| else if (align == 2)</span></span> > ><a name='def29'/><b>Error: <span style='background: #C0FF00;'>CHECKED_RETURN</span> (CWE-252):</b> <a href ='#def29'>[#def29]</a> >highlight-3.44/src/core/platform_fs.cpp:199: <b>check_return</b>: Calling "stat(entryFilepath.c_str(), &statbuf)" without checking return value. This library function may fail and return an error code. [Note: The source code implementation of the function has been overridden by a builtin model.] ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 197| // get file status</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 198| string entryFilepath = directory + pathSeparator + entry->d_name;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 199|-> stat ( entryFilepath.c_str(), &statbuf );</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 200| if ( errno ) return;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 201| </span></span> > ><a name='def30'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def30'>[#def30]</a> ><span style='color: #808080;'>highlight-3.44/src/include/stylecolour.h:46: <b>member_decl</b>: Class member declaration for "iRed".</span> ><span style='color: #808080;'>highlight-3.44/src/core/stylecolour.cpp:46: <b>uninit_member</b>: Non-static class member field "rgb.iRed" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/stylecolour.h:47: <b>member_decl</b>: Class member declaration for "iGreen".</span> ><span style='color: #808080;'>highlight-3.44/src/core/stylecolour.cpp:46: <b>uninit_member</b>: Non-static class member field "rgb.iGreen" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/stylecolour.h:48: <b>member_decl</b>: Class member declaration for "iBlue".</span> >highlight-3.44/src/core/stylecolour.cpp:46: <b>uninit_member</b>: Non-static class member field "rgb.iBlue" is not initialized in this constructor nor in any functions that it calls. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 44| rgbStream << red << " " << green << " " << blue;</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 45| setRGB ( rgbStream.str() );</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 46|-> }</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 47| </span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 48| Colour::Colour()</span></span> > ><a name='def31'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def31'>[#def31]</a> ><span style='color: #808080;'>highlight-3.44/src/include/stylecolour.h:46: <b>member_decl</b>: Class member declaration for "iRed".</span> ><span style='color: #808080;'>highlight-3.44/src/core/stylecolour.cpp:56: <b>uninit_member</b>: Non-static class member field "rgb.iRed" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/stylecolour.h:47: <b>member_decl</b>: Class member declaration for "iGreen".</span> ><span style='color: #808080;'>highlight-3.44/src/core/stylecolour.cpp:56: <b>uninit_member</b>: Non-static class member field "rgb.iGreen" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/stylecolour.h:48: <b>member_decl</b>: Class member declaration for "iBlue".</span> >highlight-3.44/src/core/stylecolour.cpp:56: <b>uninit_member</b>: Non-static class member field "rgb.iBlue" is not initialized in this constructor nor in any functions that it calls. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 54| {</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 55| setRGB ( colourString );</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 56|-> }</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 57| </span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 58| void Colour::setRGB ( const string & colourString )</span></span> > ><a name='def32'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def32'>[#def32]</a> ><span style='color: #808080;'>highlight-3.44/src/include/xterm256generator.h:113: <b>member_decl</b>: Class member declaration for "canvasPadding".</span> >highlight-3.44/src/core/xterm256generator.cpp:47: <b>uninit_member</b>: Non-static class member "canvasPadding" is not initialized in this constructor nor in any functions that it calls. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 45| spacer = " ";</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 46| maskWs=true; // needed if canvasPadding > 0; requires tab replacement</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 47|-> }</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 48| </span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 49| Xterm256Generator::~Xterm256Generator() {}</span></span> > ><a name='def33'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def33'>[#def33]</a> ><span style='color: #808080;'>highlight-3.44/src/include/rtfgenerator.h:43: <b>member_decl</b>: Class member declaration for "width".</span> ><span style='color: #808080;'>highlight-3.44/src/include/rtfgenerator.h:49: <b>uninit_member</b>: Non-static class member "width" is not initialized in this constructor nor in any functions that it calls.</span> ><span style='color: #808080;'>highlight-3.44/src/include/rtfgenerator.h:45: <b>member_decl</b>: Class member declaration for "height".</span> >highlight-3.44/src/include/rtfgenerator.h:49: <b>uninit_member</b>: Non-static class member "height" is not initialized in this constructor nor in any functions that it calls. ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 47| PageSize()</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 48| {</span></span> ><span style='color: #00C0C0;'>#<span style='color: #000000;'> 49|-> }</span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 50| </span></span> ><span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 51| /** Constructor to define page dimensions</span></span> > ></pre> ></body> ></html>
<?xml version='1.0' encoding='utf-8'?> <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.1//EN' 'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd'> <html xmlns='http://www.w3.org/1999/xhtml'> <head><title>highlight-3.44-1.fc30</title></head> <body style='background: white;'> <h1>highlight-3.44-1.fc30</h1> <h2>List of Defects</h2> <pre style='white-space: pre-wrap;'> <a name='def1'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def1'>[#def1]</a> <span style='color: #808080;'>highlight-3.44/src/cli/cmdlineoptions.h:446: <b>member_decl</b>: Class member declaration for "opt_asformat_output".</span> highlight-3.44/src/cli/cmdlineoptions.cpp:241: <b>uninit_member</b>: Non-static class member "opt_asformat_output" is not initialized in this constructor nor in any functions that it calls. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 239| }</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 240| }</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 241|-> }</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 242| </span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 243| CmdLineOptions::~CmdLineOptions() {}</span></span> <a name='def2'/><b>Error: <span style='background: #C0FF00;'>MISSING_BREAK</span> (CWE-484):</b> <a href ='#def2'>[#def2]</a> <span style='color: #808080;'>highlight-3.44/src/cli/cmdlineoptions.cpp:347: <b>unterminated_case</b>: The case for value "S_OPT_COMPAT_LINENUM" is not terminated by a 'break' statement.</span> highlight-3.44/src/cli/cmdlineoptions.cpp:349: <b>fallthrough</b>: The above case falls through to this one. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 347| case S_OPT_COMPAT_LINENUM:</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 348| if ( arg=="0" ) opt_fill_zeroes=true;</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 349|-> case 'l':</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 350| opt_linenumbers = true;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 351| break;</span></span> <a name='def3'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def3'>[#def3]</a> <span style='color: #808080;'>highlight-3.44/src/include/Diluculum/LuaFunction.hpp:210: <b>member_decl</b>: Class member declaration for "readerFlag_".</span> highlight-3.44/src/core/Diluculum/LuaFunction.cpp:39: <b>uninit_member</b>: Non-static class member "readerFlag_" is not initialized in this constructor nor in any functions that it calls. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 37| data_.typeLuaFunction = new char[size_];</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 38| memcpy(data_.typeLuaFunction, luaChunk.c_str(), size_);</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 39|-> }</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 40| </span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 41| LuaFunction::LuaFunction (const void* data, size_t size)</span></span> <a name='def4'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def4'>[#def4]</a> <span style='color: #808080;'>highlight-3.44/src/include/Diluculum/LuaFunction.hpp:210: <b>member_decl</b>: Class member declaration for "readerFlag_".</span> highlight-3.44/src/core/Diluculum/LuaFunction.cpp:46: <b>uninit_member</b>: Non-static class member "readerFlag_" is not initialized in this constructor nor in any functions that it calls. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 44| data_.typeLuaFunction = new char[size_];</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 45| memcpy(data_.typeLuaFunction, data, size);</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 46|-> }</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 47| </span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 48| LuaFunction::LuaFunction (lua_CFunction func)</span></span> <a name='def5'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def5'>[#def5]</a> <span style='color: #808080;'>highlight-3.44/src/include/Diluculum/LuaFunction.hpp:210: <b>member_decl</b>: Class member declaration for "readerFlag_".</span> highlight-3.44/src/core/Diluculum/LuaFunction.cpp:52: <b>uninit_member</b>: Non-static class member "readerFlag_" is not initialized in this constructor nor in any functions that it calls. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 50| {</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 51| data_.typeCFunction = func;</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 52|-> }</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 53| </span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 54| LuaFunction::LuaFunction (const LuaFunction& other)</span></span> <a name='def6'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def6'>[#def6]</a> <span style='color: #808080;'>highlight-3.44/src/include/Diluculum/LuaFunction.hpp:210: <b>member_decl</b>: Class member declaration for "readerFlag_".</span> highlight-3.44/src/core/Diluculum/LuaFunction.cpp:70: <b>uninit_member</b>: Non-static class member "readerFlag_" is not initialized in this constructor nor in any functions that it calls. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 68| break;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 69| }</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 70|-> }</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 71| </span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 72| </span></span> <a name='def7'/><b>Error: <span style='background: #C0FF00;'>UNCAUGHT_EXCEPT</span> (CWE-248):</b> <a href ='#def7'>[#def7]</a> <span style='color: #808080;'>highlight-3.44/src/cli/main.cpp:707: <b>root_function</b>: In function "main(int, char const **)" an exception of type "Diluculum::LuaTypeError" is thrown and never caught.</span> <span style='color: #808080;'>highlight-3.44/src/cli/main.cpp:710: <b>fun_call_w_exception</b>: Called function throws an exception of type "Diluculum::LuaTypeError".</span> <span style='color: #808080;'>highlight-3.44/src/cli/main.cpp:419:9: <b>fun_call_w_exception</b>: Called function throws an exception of type "Diluculum::LuaTypeError".</span> <span style='color: #808080;'>highlight-3.44/src/cli/main.cpp:133:9: <b>fun_call_w_exception</b>: Called function throws an exception of type "Diluculum::LuaTypeError".</span> <span style='color: #808080;'>highlight-3.44/src/core/Diluculum/LuaVariable.cpp:66:20: <b>fun_call_w_exception</b>: Called function throws an exception of type "Diluculum::LuaTypeError".</span> highlight-3.44/src/core/Diluculum/LuaUtils.cpp:116:13: <b>exception_thrown</b>: An exception of type "Diluculum::LuaTypeError" is thrown. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 114| default:</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 115| {</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 116|-> throw LuaTypeError(</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 117| ("Unsupported type found in call to 'ToLuaValue()': "</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 118| + boost::lexical_cast<std::string>(lua_type (state, index))</span></span> <a name='def8'/><b>Error: <span style='background: #C0FF00;'>UNCAUGHT_EXCEPT</span> (CWE-248):</b> <a href ='#def8'>[#def8]</a> <span style='color: #808080;'>/usr/include/c++/8/bits/move.h:47: <b>exn_spec_violation</b>: An exception of type "Diluculum::TypeMismatchError" is thrown but the throw list "throw()" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().</span> <span style='color: #808080;'>/usr/include/c++/8/bits/move.h:48: <b>fun_call_w_exception</b>: Called function throws an exception of type "Diluculum::TypeMismatchError".</span> <span style='color: #808080;'>highlight-3.44/src/core/Diluculum/LuaValue.cpp:178:13: <b>fun_call_w_exception</b>: Called function throws an exception of type "Diluculum::TypeMismatchError".</span> highlight-3.44/src/core/Diluculum/LuaValue.cpp:325:10: <b>exception_thrown</b>: An exception of type "Diluculum::TypeMismatchError" is thrown. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 323| else</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 324| {</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 325|-> throw TypeMismatchError ("string", typeName());</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 326| }</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 327| }</span></span> <a name='def9'/><b>Error: <span style='background: #C0FF00;'>CTOR_DTOR_LEAK</span> (CWE-772):</b> <a href ='#def9'>[#def9]</a> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:76: <b>alloc_new</b>: Allocating memory by calling "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:76: <b>var_assign</b>: Assigning: "this->headers" = "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> highlight-3.44/src/core/astyle/ASBeautifier.cpp:76: <b>ctor_dtor_leak</b>: The constructor allocates field "headers" of "astyle::ASBeautifier" but the destructor and whatever functions it calls do not free it. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 74| // initialize ASBeautifier member vectors</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 75| beautifierFileType = 9; // reset to an invalid type</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 76|-> headers = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 77| nonParenHeaders = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 78| assignmentOperators = new vector<const string*>;</span></span> <a name='def10'/><b>Error: <span style='background: #C0FF00;'>CTOR_DTOR_LEAK</span> (CWE-772):</b> <a href ='#def10'>[#def10]</a> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:77: <b>alloc_new</b>: Allocating memory by calling "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:77: <b>var_assign</b>: Assigning: "this->nonParenHeaders" = "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> highlight-3.44/src/core/astyle/ASBeautifier.cpp:77: <b>ctor_dtor_leak</b>: The constructor allocates field "nonParenHeaders" of "astyle::ASBeautifier" but the destructor and whatever functions it calls do not free it. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 75| beautifierFileType = 9; // reset to an invalid type</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 76| headers = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 77|-> nonParenHeaders = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 78| assignmentOperators = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 79| nonAssignmentOperators = new vector<const string*>;</span></span> <a name='def11'/><b>Error: <span style='background: #C0FF00;'>CTOR_DTOR_LEAK</span> (CWE-772):</b> <a href ='#def11'>[#def11]</a> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:78: <b>alloc_new</b>: Allocating memory by calling "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:78: <b>var_assign</b>: Assigning: "this->assignmentOperators" = "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> highlight-3.44/src/core/astyle/ASBeautifier.cpp:78: <b>ctor_dtor_leak</b>: The constructor allocates field "assignmentOperators" of "astyle::ASBeautifier" but the destructor and whatever functions it calls do not free it. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 76| headers = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 77| nonParenHeaders = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 78|-> assignmentOperators = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 79| nonAssignmentOperators = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 80| preBlockStatements = new vector<const string*>;</span></span> <a name='def12'/><b>Error: <span style='background: #C0FF00;'>CTOR_DTOR_LEAK</span> (CWE-772):</b> <a href ='#def12'>[#def12]</a> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:79: <b>alloc_new</b>: Allocating memory by calling "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:79: <b>var_assign</b>: Assigning: "this->nonAssignmentOperators" = "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> highlight-3.44/src/core/astyle/ASBeautifier.cpp:79: <b>ctor_dtor_leak</b>: The constructor allocates field "nonAssignmentOperators" of "astyle::ASBeautifier" but the destructor and whatever functions it calls do not free it. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 77| nonParenHeaders = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 78| assignmentOperators = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 79|-> nonAssignmentOperators = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 80| preBlockStatements = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 81| preCommandHeaders = new vector<const string*>;</span></span> <a name='def13'/><b>Error: <span style='background: #C0FF00;'>CTOR_DTOR_LEAK</span> (CWE-772):</b> <a href ='#def13'>[#def13]</a> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:80: <b>alloc_new</b>: Allocating memory by calling "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:80: <b>var_assign</b>: Assigning: "this->preBlockStatements" = "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> highlight-3.44/src/core/astyle/ASBeautifier.cpp:80: <b>ctor_dtor_leak</b>: The constructor allocates field "preBlockStatements" of "astyle::ASBeautifier" but the destructor and whatever functions it calls do not free it. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 78| assignmentOperators = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 79| nonAssignmentOperators = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 80|-> preBlockStatements = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 81| preCommandHeaders = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 82| indentableHeaders = new vector<const string*>;</span></span> <a name='def14'/><b>Error: <span style='background: #C0FF00;'>CTOR_DTOR_LEAK</span> (CWE-772):</b> <a href ='#def14'>[#def14]</a> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:81: <b>alloc_new</b>: Allocating memory by calling "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:81: <b>var_assign</b>: Assigning: "this->preCommandHeaders" = "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> highlight-3.44/src/core/astyle/ASBeautifier.cpp:81: <b>ctor_dtor_leak</b>: The constructor allocates field "preCommandHeaders" of "astyle::ASBeautifier" but the destructor and whatever functions it calls do not free it. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 79| nonAssignmentOperators = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 80| preBlockStatements = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 81|-> preCommandHeaders = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 82| indentableHeaders = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 83| }</span></span> <a name='def15'/><b>Error: <span style='background: #C0FF00;'>CTOR_DTOR_LEAK</span> (CWE-772):</b> <a href ='#def15'>[#def15]</a> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:82: <b>alloc_new</b>: Allocating memory by calling "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:82: <b>var_assign</b>: Assigning: "this->indentableHeaders" = "new std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const *> >".</span> highlight-3.44/src/core/astyle/ASBeautifier.cpp:82: <b>ctor_dtor_leak</b>: The constructor allocates field "indentableHeaders" of "astyle::ASBeautifier" but the destructor and whatever functions it calls do not free it. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 80| preBlockStatements = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 81| preCommandHeaders = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 82|-> indentableHeaders = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 83| }</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 84| </span></span> <a name='def16'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def16'>[#def16]</a> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "lineIsLineCommentOnly" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:543: <b>member_decl</b>: Class member declaration for "shouldIndentBracedLine".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "shouldIndentBracedLine" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:544: <b>member_decl</b>: Class member declaration for "isInSwitch".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "isInSwitch" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:545: <b>member_decl</b>: Class member declaration for "foundPreCommandHeader".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "foundPreCommandHeader" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:546: <b>member_decl</b>: Class member declaration for "foundPreCommandMacro".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "foundPreCommandMacro" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:549: <b>member_decl</b>: Class member declaration for "indentCount".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "indentCount" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:550: <b>member_decl</b>: Class member declaration for "spaceIndentCount".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "spaceIndentCount" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:551: <b>member_decl</b>: Class member declaration for "spaceIndentObjCMethodAlignment".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "spaceIndentObjCMethodAlignment" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:552: <b>member_decl</b>: Class member declaration for "bracePosObjCMethodAlignment".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "bracePosObjCMethodAlignment" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:553: <b>member_decl</b>: Class member declaration for "colonIndentObjCMethodAlignment".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "colonIndentObjCMethodAlignment" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:554: <b>member_decl</b>: Class member declaration for "lineOpeningBlocksNum".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "lineOpeningBlocksNum" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:555: <b>member_decl</b>: Class member declaration for "lineClosingBlocksNum".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "lineClosingBlocksNum" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:558: <b>member_decl</b>: Class member declaration for "minConditionalIndent".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "minConditionalIndent" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:559: <b>member_decl</b>: Class member declaration for "parenDepth".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "parenDepth" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:563: <b>member_decl</b>: Class member declaration for "blockTabCount".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "blockTabCount" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:566: <b>member_decl</b>: Class member declaration for "templateDepth".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "templateDepth" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:567: <b>member_decl</b>: Class member declaration for "squareBracketCount".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "squareBracketCount" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:568: <b>member_decl</b>: Class member declaration for "prevFinalLineSpaceIndentCount".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "prevFinalLineSpaceIndentCount" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:569: <b>member_decl</b>: Class member declaration for "prevFinalLineIndentCount".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "prevFinalLineIndentCount" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:570: <b>member_decl</b>: Class member declaration for "defineIndentCount".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "defineIndentCount" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:571: <b>member_decl</b>: Class member declaration for "preprocBlockIndent".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "preprocBlockIndent" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:572: <b>member_decl</b>: Class member declaration for "quoteChar".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "quoteChar" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:573: <b>member_decl</b>: Class member declaration for "prevNonSpaceCh".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "prevNonSpaceCh" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:574: <b>member_decl</b>: Class member declaration for "currentNonSpaceCh".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "currentNonSpaceCh" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:575: <b>member_decl</b>: Class member declaration for "currentNonLegalCh".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "currentNonLegalCh" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:576: <b>member_decl</b>: Class member declaration for "prevNonLegalCh".</span> highlight-3.44/src/core/astyle/ASBeautifier.cpp:83: <b>uninit_member</b>: Non-static class member "prevNonLegalCh" is not initialized in this constructor nor in any functions that it calls. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 81| preCommandHeaders = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 82| indentableHeaders = new vector<const string*>;</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 83|-> }</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 84| </span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 85| /**</span></span> <a name='def17'/><b>Error: <span style='background: #C0FF00;'>REVERSE_NEGATIVE</span> (CWE-191):</b> <a href ='#def17'>[#def17]</a> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:1477: <b>negative_sink_in_call</b>: Passing "end" to a parameter that cannot be negative. [Note: The source code implementation of the function has been overridden by a builtin model.]</span> highlight-3.44/src/core/astyle/ASBeautifier.cpp:1481: <b>check_after_sink</b>: You might be using variable "end" before verifying that it is >= 0. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1479| </span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1480| // don't trim if it ends in a continuation</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 1481|-> if (end > -1 && str[end] == '\\')</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1482| end = str.length() - 1;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1483| </span></span> <a name='def18'/><b>Error: <span style='background: #C0FF00;'>NEGATIVE_RETURNS</span> (CWE-394):</b> <a href ='#def18'>[#def18]</a> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:2320: <b>negative_return_fn</b>: Function "convertedLine.find('[', 0UL)" returns a negative number. [Note: The source code implementation of the function has been overridden by a builtin model.]</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:2320: <b>var_assign</b>: Assigning: signed variable "this->bracePosObjCMethodAlignment" = "find".</span> highlight-3.44/src/core/astyle/ASBeautifier.cpp:2321: <b>negative_returns</b>: "this->bracePosObjCMethodAlignment" is passed to a parameter that cannot be negative. <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:2434:2: <b>neg_sink_parm_call</b>: Passing "bracePos" to "operator []", which cannot accept a negative number. [Note: The source code implementation of the function has been overridden by a builtin model.]</span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2319| string convertedLine = getIndentedSpaceEquivalent(line_);</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2320| bracePosObjCMethodAlignment = convertedLine.find('[');</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 2321|-> keywordIndentObjCMethodAlignment =</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2322| getObjCFollowingKeyword(convertedLine, bracePosObjCMethodAlignment);</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2323| colonIndentObjCMethodAlignment = findObjCColonAlignment(convertedLine);</span></span> <a name='def19'/><b>Error: <span style='background: #C0FF00;'>NEGATIVE_RETURNS</span> (CWE-394):</b> <a href ='#def19'>[#def19]</a> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:2357: <b>negative_return_fn</b>: Function "convertedLine.find('[', 0UL)" returns a negative number. [Note: The source code implementation of the function has been overridden by a builtin model.]</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:2357: <b>var_assign</b>: Assigning: signed variable "this->bracePosObjCMethodAlignment" = "find".</span> highlight-3.44/src/core/astyle/ASBeautifier.cpp:2358: <b>negative_returns</b>: "this->bracePosObjCMethodAlignment" is passed to a parameter that cannot be negative. <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:2434:2: <b>neg_sink_parm_call</b>: Passing "bracePos" to "operator []", which cannot accept a negative number. [Note: The source code implementation of the function has been overridden by a builtin model.]</span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2356| string convertedLine = getIndentedSpaceEquivalent(line_);</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2357| bracePosObjCMethodAlignment = convertedLine.find('[');</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 2358|-> keywordIndentObjCMethodAlignment =</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2359| getObjCFollowingKeyword(convertedLine, bracePosObjCMethodAlignment);</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2360| }</span></span> <a name='def20'/><b>Error: <span style='background: #C0FF00;'>COPY_PASTE_ERROR</span> (CWE-398):</b> <a href ='#def20'>[#def20]</a> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:2450: <b>original</b>: "searchBeg + 1UL" looks like the original copy.</span> highlight-3.44/src/core/astyle/ASBeautifier.cpp:2442: <b>copy_paste_error</b>: "searchBeg" in "searchBeg + 1UL" looks like a copy-paste error. <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASBeautifier.cpp:2442: <b>remediation</b>: Should it say "objectEnd" instead?</span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2440| if (line[searchBeg] == '[')</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2441| {</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 2442|-> objectEnd = line.find(']', searchBeg + 1);</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2443| if (objectEnd == string::npos)</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 2444| return 0;</span></span> <a name='def21'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def21'>[#def21]</a> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostNonInStmt" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1031: <b>member_decl</b>: Class member declaration for "isCharImmediatelyPostNonInStmt".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isCharImmediatelyPostNonInStmt" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1032: <b>member_decl</b>: Class member declaration for "isImmediatelyPostComment".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostComment" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1033: <b>member_decl</b>: Class member declaration for "isImmediatelyPostLineComment".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostLineComment" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1034: <b>member_decl</b>: Class member declaration for "isImmediatelyPostEmptyBlock".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostEmptyBlock" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1035: <b>member_decl</b>: Class member declaration for "isImmediatelyPostObjCMethodPrefix".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostObjCMethodPrefix" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1036: <b>member_decl</b>: Class member declaration for "isImmediatelyPostPreprocessor".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostPreprocessor" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1037: <b>member_decl</b>: Class member declaration for "isImmediatelyPostReturn".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostReturn" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1038: <b>member_decl</b>: Class member declaration for "isImmediatelyPostThrow".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostThrow" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1039: <b>member_decl</b>: Class member declaration for "isImmediatelyPostNewDelete".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostNewDelete" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1040: <b>member_decl</b>: Class member declaration for "isImmediatelyPostOperator".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostOperator" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1041: <b>member_decl</b>: Class member declaration for "isImmediatelyPostTemplate".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostTemplate" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1042: <b>member_decl</b>: Class member declaration for "isImmediatelyPostPointerOrReference".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostPointerOrReference" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1045: <b>member_decl</b>: Class member declaration for "isPrependPostBlockEmptyLineRequested".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isPrependPostBlockEmptyLineRequested" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1046: <b>member_decl</b>: Class member declaration for "isAppendPostBlockEmptyLineRequested".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isAppendPostBlockEmptyLineRequested" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1047: <b>member_decl</b>: Class member declaration for "isIndentableProprocessor".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isIndentableProprocessor" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1048: <b>member_decl</b>: Class member declaration for "isIndentableProprocessorBlock".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isIndentableProprocessorBlock" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1049: <b>member_decl</b>: Class member declaration for "prependEmptyLine".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "prependEmptyLine" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1050: <b>member_decl</b>: Class member declaration for "appendOpeningBrace".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "appendOpeningBrace" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1051: <b>member_decl</b>: Class member declaration for "foundClosingHeader".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "foundClosingHeader" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1052: <b>member_decl</b>: Class member declaration for "isInHeader".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isInHeader" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1053: <b>member_decl</b>: Class member declaration for "isImmediatelyPostHeader".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isImmediatelyPostHeader" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1054: <b>member_decl</b>: Class member declaration for "isInCase".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isInCase" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1055: <b>member_decl</b>: Class member declaration for "isFirstPreprocConditional".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isFirstPreprocConditional" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1056: <b>member_decl</b>: Class member declaration for "processedFirstConditional".</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "processedFirstConditional" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/astyle/astyle.h:1057: <b>member_decl</b>: Class member declaration for "isJavaStaticConstructor".</span> highlight-3.44/src/core/astyle/ASFormatter.cpp:99: <b>uninit_member</b>: Non-static class member "isJavaStaticConstructor" is not initialized in this constructor nor in any functions that it calls. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 97| // initialize ASEnhancer member vectors</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 98| indentableMacros = new vector<const pair<const string, const string>* >;</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 99|-> }</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 100| </span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 101| /**</span></span> <a name='def22'/><b>Error: <span style='background: #C0FF00;'>DEADCODE</span> (CWE-561):</b> <a href ='#def22'>[#def22]</a> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:3471: <b>cond_cannot_single</b>: Condition "nextText == 18446744073709551615UL", taking false branch. Now the value of "nextText" cannot be equal to -1.</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:3474: <b>cannot_single</b>: At condition "nextText == 18446744073709551615UL", the value of "nextText" cannot be equal to -1.</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:3474: <b>dead_error_condition</b>: The condition "nextText == 18446744073709551615UL" cannot be true.</span> highlight-3.44/src/core/astyle/ASFormatter.cpp:3475: <b>dead_error_line</b>: Execution cannot reach this statement: "return false;". <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 3473| size_t nextText2 = line.find_first_not_of(" \t", nextText + 1);</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 3474| if (nextText == string::npos)</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 3475|-> return false;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 3476| if (line[nextText2] == ')' || line[nextText2] == '*')</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 3477| return true;</span></span> <a name='def23'/><b>Error: <span style='background: #C0FF00;'>NEGATIVE_RETURNS</span> (CWE-394):</b> <a href ='#def23'>[#def23]</a> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:3473: <b>negative_return_fn</b>: Function "line->find_first_not_of(" \t", nextText + 1UL)" returns a negative number. [Note: The source code implementation of the function has been overridden by a builtin model.]</span> <span style='color: #808080;'>highlight-3.44/src/core/astyle/ASFormatter.cpp:3473: <b>var_assign</b>: Assigning: unsigned variable "nextText2" = "find_first_not_of".</span> highlight-3.44/src/core/astyle/ASFormatter.cpp:3476: <b>negative_returns</b>: "nextText2" is passed to a parameter that cannot be negative. [Note: The source code implementation of the function has been overridden by a builtin model.] <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 3474| if (nextText == string::npos)</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 3475| return false;</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 3476|-> if (line[nextText2] == ')' || line[nextText2] == '*')</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 3477| return true;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 3478| return false;</span></span> <a name='def24'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def24'>[#def24]</a> <span style='color: #808080;'>highlight-3.44/src/include/codegenerator.h:592: <b>member_decl</b>: Class member declaration for "currentState".</span> <span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:153: <b>uninit_member</b>: Non-static class member "currentState" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/codegenerator.h:598: <b>member_decl</b>: Class member declaration for "currentKeywordClass".</span> <span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:153: <b>uninit_member</b>: Non-static class member "currentKeywordClass" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/codegenerator.h:657: <b>member_decl</b>: Class member declaration for "numberCurrentLine".</span> highlight-3.44/src/core/codegenerator.cpp:153: <b>uninit_member</b>: Non-static class member "numberCurrentLine" is not initialized in this constructor nor in any functions that it calls. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 151| outputType ( type )</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 152| {</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 153|-> }</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 154| </span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 155| </span></span> <a name='def25'/><b>Error: <span style='background: #C0FF00;'>DEADCODE</span> (CWE-561):</b> <a href ='#def25'>[#def25]</a> <span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1032: <b>assignment</b>: Assigning: "align" = "0".</span> <span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1036: <b>const</b>: At condition "align == 1", the value of "align" must be equal to 0.</span> <span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1036: <b>dead_error_condition</b>: The condition "align == 1" cannot be true.</span> highlight-3.44/src/core/codegenerator.cpp:1037: <b>dead_error_line</b>: Execution cannot reach this statement: "this->formatter->setPointer...". <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1035| align = atoi(styleParam.c_str());</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1036| else if (align == 1)</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 1037|-> formatter->setPointerAlignment(astyle::PTR_ALIGN_TYPE);</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1038| else if (align == 2)</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1039| formatter->setPointerAlignment(astyle::PTR_ALIGN_MIDDLE);</span></span> <a name='def26'/><b>Error: <span style='background: #C0FF00;'>DEADCODE</span> (CWE-561):</b> <a href ='#def26'>[#def26]</a> <span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1032: <b>assignment</b>: Assigning: "align" = "0".</span> <span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1038: <b>const</b>: At condition "align == 2", the value of "align" must be equal to 0.</span> <span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1038: <b>dead_error_condition</b>: The condition "align == 2" cannot be true.</span> highlight-3.44/src/core/codegenerator.cpp:1039: <b>dead_error_line</b>: Execution cannot reach this statement: "this->formatter->setPointer...". <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1037| formatter->setPointerAlignment(astyle::PTR_ALIGN_TYPE);</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1038| else if (align == 2)</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 1039|-> formatter->setPointerAlignment(astyle::PTR_ALIGN_MIDDLE);</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1040| else if (align == 3)</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1041| formatter->setPointerAlignment(astyle::PTR_ALIGN_NAME);</span></span> <a name='def27'/><b>Error: <span style='background: #C0FF00;'>DEADCODE</span> (CWE-561):</b> <a href ='#def27'>[#def27]</a> <span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1032: <b>assignment</b>: Assigning: "align" = "0".</span> <span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1040: <b>const</b>: At condition "align == 3", the value of "align" must be equal to 0.</span> <span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1040: <b>dead_error_condition</b>: The condition "align == 3" cannot be true.</span> highlight-3.44/src/core/codegenerator.cpp:1041: <b>dead_error_line</b>: Execution cannot reach this statement: "this->formatter->setPointer...". <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1039| formatter->setPointerAlignment(astyle::PTR_ALIGN_MIDDLE);</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1040| else if (align == 3)</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 1041|-> formatter->setPointerAlignment(astyle::PTR_ALIGN_NAME);</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1042| }</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1043| else if (isOption(arg, "align-reference=none"))</span></span> <a name='def28'/><b>Error: <span style='background: #C0FF00;'>DEADCODE</span> (CWE-561):</b> <a href ='#def28'>[#def28]</a> <span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1061: <b>assignment</b>: Assigning: "align" = "0".</span> <span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1065: <b>const</b>: At condition "align == 0", the value of "align" must be equal to 0.</span> <span style='color: #808080;'>highlight-3.44/src/core/codegenerator.cpp:1065: <b>dead_error_condition</b>: The condition "align == 0" must be true.</span> highlight-3.44/src/core/codegenerator.cpp:1067: <b>dead_error_line</b>: Execution cannot reach this statement: "if (align == 1) this->for...". <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1065| else if (align == 0)</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1066| formatter->setReferenceAlignment(astyle::REF_ALIGN_NONE);</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 1067|-> else if (align == 1)</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1068| formatter->setReferenceAlignment(astyle::REF_ALIGN_TYPE);</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 1069| else if (align == 2)</span></span> <a name='def29'/><b>Error: <span style='background: #C0FF00;'>CHECKED_RETURN</span> (CWE-252):</b> <a href ='#def29'>[#def29]</a> highlight-3.44/src/core/platform_fs.cpp:199: <b>check_return</b>: Calling "stat(entryFilepath.c_str(), &statbuf)" without checking return value. This library function may fail and return an error code. [Note: The source code implementation of the function has been overridden by a builtin model.] <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 197| // get file status</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 198| string entryFilepath = directory + pathSeparator + entry->d_name;</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 199|-> stat ( entryFilepath.c_str(), &statbuf );</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 200| if ( errno ) return;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 201| </span></span> <a name='def30'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def30'>[#def30]</a> <span style='color: #808080;'>highlight-3.44/src/include/stylecolour.h:46: <b>member_decl</b>: Class member declaration for "iRed".</span> <span style='color: #808080;'>highlight-3.44/src/core/stylecolour.cpp:46: <b>uninit_member</b>: Non-static class member field "rgb.iRed" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/stylecolour.h:47: <b>member_decl</b>: Class member declaration for "iGreen".</span> <span style='color: #808080;'>highlight-3.44/src/core/stylecolour.cpp:46: <b>uninit_member</b>: Non-static class member field "rgb.iGreen" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/stylecolour.h:48: <b>member_decl</b>: Class member declaration for "iBlue".</span> highlight-3.44/src/core/stylecolour.cpp:46: <b>uninit_member</b>: Non-static class member field "rgb.iBlue" is not initialized in this constructor nor in any functions that it calls. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 44| rgbStream << red << " " << green << " " << blue;</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 45| setRGB ( rgbStream.str() );</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 46|-> }</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 47| </span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 48| Colour::Colour()</span></span> <a name='def31'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def31'>[#def31]</a> <span style='color: #808080;'>highlight-3.44/src/include/stylecolour.h:46: <b>member_decl</b>: Class member declaration for "iRed".</span> <span style='color: #808080;'>highlight-3.44/src/core/stylecolour.cpp:56: <b>uninit_member</b>: Non-static class member field "rgb.iRed" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/stylecolour.h:47: <b>member_decl</b>: Class member declaration for "iGreen".</span> <span style='color: #808080;'>highlight-3.44/src/core/stylecolour.cpp:56: <b>uninit_member</b>: Non-static class member field "rgb.iGreen" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/stylecolour.h:48: <b>member_decl</b>: Class member declaration for "iBlue".</span> highlight-3.44/src/core/stylecolour.cpp:56: <b>uninit_member</b>: Non-static class member field "rgb.iBlue" is not initialized in this constructor nor in any functions that it calls. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 54| {</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 55| setRGB ( colourString );</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 56|-> }</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 57| </span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 58| void Colour::setRGB ( const string & colourString )</span></span> <a name='def32'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def32'>[#def32]</a> <span style='color: #808080;'>highlight-3.44/src/include/xterm256generator.h:113: <b>member_decl</b>: Class member declaration for "canvasPadding".</span> highlight-3.44/src/core/xterm256generator.cpp:47: <b>uninit_member</b>: Non-static class member "canvasPadding" is not initialized in this constructor nor in any functions that it calls. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 45| spacer = " ";</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 46| maskWs=true; // needed if canvasPadding > 0; requires tab replacement</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 47|-> }</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 48| </span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 49| Xterm256Generator::~Xterm256Generator() {}</span></span> <a name='def33'/><b>Error: <span style='background: #C0FF00;'>UNINIT_CTOR</span> (CWE-456):</b> <a href ='#def33'>[#def33]</a> <span style='color: #808080;'>highlight-3.44/src/include/rtfgenerator.h:43: <b>member_decl</b>: Class member declaration for "width".</span> <span style='color: #808080;'>highlight-3.44/src/include/rtfgenerator.h:49: <b>uninit_member</b>: Non-static class member "width" is not initialized in this constructor nor in any functions that it calls.</span> <span style='color: #808080;'>highlight-3.44/src/include/rtfgenerator.h:45: <b>member_decl</b>: Class member declaration for "height".</span> highlight-3.44/src/include/rtfgenerator.h:49: <b>uninit_member</b>: Non-static class member "height" is not initialized in this constructor nor in any functions that it calls. <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 47| PageSize()</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 48| {</span></span> <span style='color: #00C0C0;'>#<span style='color: #000000;'> 49|-> }</span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 50| </span></span> <span style='color: #00C0C0;'>#<span style='color: #C0C0C0;'> 51| /** Constructor to define page dimensions</span></span> </pre> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 1630845
:
1484671
| 1485237