Closed Bo-Yuan-Huang closed 4 years ago
Unchecked dynamic_cast
Description If the dynamic_cast fails, a null pointer dereference will occur; if the dynamic_cast cannot fail, using static_cast instead offers better performance.
In ilang::SynthAbsConverter::CnvtNodeToExprConst(ilasynth::Node const *): Dynamic_cast may fail and return null if the type cast is incompatible
Time of check time of use
Description An attacker could change the filename's file association or other attributes between the check and use.
In ilang::os_portable_mkdir(std::__cxx11::basic_string<char, std::char_traits
Uninitialized scalar field
Description The field will contain an arbitrary value left over from earlier computations.
In ilang::IlaSim::IlaSim(): A scalar field is not initialized by the constructor
Missing break in switch
Description Execution falls through to the next case statement or default; this might indicate a common typo.
In ilang::VerilogAnalyzer::get_signal(std::__cxx11::basic_string<char, std::char_traits
Uninitialized scalar field
Description The field will contain an arbitrary value left over from earlier computations.
In ilang::VlgSglTgtGen::VlgSglTgtGen(std::cxx11::basic_string<char, std::char_traits
Logically dead code
Description The indicated dead code may have performed some action; that action will never occur.
In ilang::find_comments(std::__cxx11::basic_string<char, std::char_traits
fix by #148
Describe the bug Issues found by Coverity on the analysis of 07c9c674875daa8be15368bb423159a18a3f7051.
Detail See comments the issues.