This section covers how Embold supports custom extensions for C and C++ languages.
On UI, custom extensions can be specified with Additional Options field of scan configuration page as shown below:
The flag for supplying C extension is “
--xc“ and for CPP is “
User can provide multiple C/CPP extensions with the help of pipe (
|) separator as shown above.
And multiple options can be provided using semicolon (
Custom extensions can be specified in remote scan mode also by updating additionalOptions field of gammascan.json file as shown below:
In gammascan.json, multiple options are specified using comma (,) separator.
With these additional options, all the files in repository ending with .pc or .pcc will be considered as C and C++ files respectively, and parsed accordingly.