Directives

Use only one directive at a time and do not use any directive in conjunction with translation or analysis commands. Use the directives described in the following table to list information about previous translation commands.

Directive Description

-clean

Deletes all OpenText SAST intermediate files and build records. If you specify a build ID, only files and build records that relate to that build ID are deleted.

-show-binaries

Displays all objects created but not used in the production of any other binaries. If fully integrated into the build, it lists all the binaries produced.

-show-build-ids

Displays a list of all known build IDs.

-show-build-tree

When you scan with the -bin option, displays all files used to create the binary and all files used to create those files in a tree layout. If the -bin option is not present, the tree is displayed for each binary.

This option can generate an extensive amount of information.

-show-build-warnings

Use with the -b option to display any errors and warnings that occurred in the translation phase on the console.

Fortify Audit Workbench also displays these errors and warnings in the results Certification tab.

-show-files

Displays the files included in the specified build ID. When the -bin option is present, displays only the source files that went into the binary.

-show-loc

Use with the -b option to display the number of lines in the translated code.