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…
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…
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…
Running analysis in strict mode
Set up your remote Embold instance. This is where your analysis results will be published. Follow the steps to set up remote analysis here.
Azure DevOps Integration
Below are the steps to integrate Azure DevOps with the existing account:
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…
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…
Configuring Server Port
Change the default port By default, the Embold application is running on port 3000. To change this, you need to follow the steps listed below: Go to the directory where the Embold is installed (based on the option selected during installation). Edit gamma-config.json which can be found at the following…
Postgres Configuration
Accessing database from different machines Go to Postgres installation directory-> 9.6 -> data. Postgres installation is usually located at the following location: On Linux: /var/lib/pgsql On Windows: C:/Program Files/PostgreSQL Steps Edit the postgresql.conf as shown below: Edit pg_hba.conf in the IPv4 section as shown below: To allow any user from…