CI Integration pipeline

In this mode, Embold integrates with the CI system (Gitlab in this case) to run scans as part of the pipeline run. The following diagram shows the Embold setup with Gitlab: In this case, the “Corona” component of Embold is deployed additionally on the Gitlab Runner host. The Corona component…

0
Read More

Improving accuracy in fuzzy mode

Steps to navigate to Scan Configuration Option: Scan Configuration window consists of: Exclusion: We can exclude particular source files by providing regular expressions. Regular Expression Format: JavaScript Examples: Additional Options: By default, the parser searches for any header file recursively in all the sub-directories of the source folder. This can…

0
Read More

Additional parser options

Exclusion filters We can exclude particular source files by providing regular expressions. Regular Expression Format: JavaScript Examples: To filter out files containing “test” keyword -> “.*test.*” To filter out everything but one file -> “^(?!.*parse-this-file-only.cpp*$).*” Use escape character to match special characters like +, . -> “.*test.c++*” Parsing invalid code…

0
Read More

Generating compilation database for Visual Studio projects

VSProjectParser is a utility to generate compilation database from Visual Studio Solution or Project files. Location: This utility is kept under corona/cxxparser/bin Portability:  Should be working on Windows operating systems and tested on Windows 7 and 10. Prerequisites: Visual C++ Redistributable for Visual Studio 2015 https://www.microsoft.com/en-us/download/details.aspx?id=48145. Microsoft Build Tools 2015…

0
Read More

Compilation database

Introduction A compilation database is a JSON file (compile_commands.json is the default name), which consists of an array of command objects. Each command object consists of: A compilation database is a JSON file (compile_commands.json is the default name), which consists of an array of command objects. Each command object consists…

0
Read More