Chinmaykd21 / CSCI8000_Project_Compiler

Project: Write a simple compiler in C/C++. Objective: Compiler is one of the core software in our system software stack. A vulnerable compiler can instrument malicious instruction in a binary. A compiler has two phases: front-end and back-end. In this project, we will write a simple compiler that will 1) read a code using stdin, 2) tokenize the source (lexical analysis), 3) check correctness of code (syntax analysis), and 4) generate a parse tree.
1 stars 2 forks source link

Uninitialized variable #12

Closed zsxshawn closed 3 years ago

zsxshawn commented 3 years ago

Project: Compiler Report By:Team Blue Vulnerability Type: Uninitialized variable Analysis Method Used: CppCheck Vulnerability Description: compiler.cpp:937:37: error: Uninitialized variable: closeQuotes [uninitvar] j = closeQuotes + 1;

Chinmaykd21 commented 3 years ago

This issue has been resolved. commit id : 61e2ff7ea1ccac7f19c69a6ad3246e6c26f63b09