Parasoft ASMTools is a collection of command line programs focused on structural analysis of assembly level code. The tools produce coverage reports for assembly instructions generated from C and C++ source code. The following tools are included:
This documentation is intended to help you understand how the tools work together so that ASMTools can be implemented into your automated workflow.
Parasoft ASM Tools run on Windows and Linux.
Operating system | Version | Hardware |
---|---|---|
Windows 32-bit (x86) |
| i686 class processor or higher |
Windows 64-bit (x86_64) |
| x86_64 processor that supports the MMX, SSE, SSE2, SSE3, and SSSE3 instruction sets |
Linux | 2.6 or higher | x86_64 processor which supports the MMX, SSE, SSE2, SSE3, and SSSE3 instruction sets |
Compiler | Host Platform | Compiler Acronym | Notes |
---|---|---|---|
Green Hills® Software C/C++ Compiler v4.0 for PowerPC | Windows | ppc_ghs_4_0 | |
Green Hills® Software C/C++ Compiler v4.2 for PowerPC | Windows Linux | ppc_ghs_4_2 | |
Green Hills® Software C/C++ Compiler v2017.1 for PowerPC | Windows Linux | ppc_ghs_2017_1 | |
Green Hills® Software C/C++ Compiler v2017.1 for PowerPC (64-bit) | Windows Linux | ppc64_ghs_2017_1 | |
Green Hills® Software C/C++ Compiler v3.5 for PowerPC | Windows | ppc_ghs_3_5 | |
GNU GCC C/C++ Compiler for x86_32 Version 4.6 - 9.3 | Linux | x86_32_gcc | |
GNU GCC C/C++ Compiler for x86_64 Version 4.6 - 9.3 | Linux | x86_64_gcc | |
GNU Archiver | Linux | gnu_ar | Handles archive commands |
GNU Linker | Linux | gnu_ld | Handles direct linker commands Intended for direct usage of the |
Unpack the distribution file to a target location. This directory will contain all ASMTool files and will be referred to as <ASMTOOLS_INSTALL> in this manual.
For convenient access to the ASMTools executables, you can add the _<ASMTOOLS_INSTALL>_ directory to your path.
Windows cmd:
$ SET PATH=%PATH%;<ASMTOOLS_INSTALL>;<ASMTOOLS_INSTALL>/engine/bin
bash or cygwin:
$ export PATH=$PATH:<ASMTOOLS_INSTALL>:<ASMTOOLS_INSTALL>/engine/bin
You can also update the PATH environment variable on Windows to permanently add ASMTools to the path. Refer to the documentation for your version of Windows.
Remove the '<ASMTOOLS_INSTALL>' directory from disk.
You can configure the settings in the asmtools.properties file located in the <ASMTOOLS_INSTALL> directory to activate your license.
# === LICENSE === # === LOCAL LICENSE === # Enables local license - be sure to specify password. #asmtools.license.use_network=false # Specifies password for the local license. #asmtools.license.local.password=[LICENSE PASSWORD] # === NETWORK LICENSE === # Enables network license - be sure to configure license server settings. #asmtools.license.use_network=true #asmtools.license.network.host=[LICENSE SERVER HOST] #asmtools.license.network.port=[LICENSE SERVER PORT] |
ASMTools can use either a local or a network license.
Uncomment the following properties and specify the password you received from Parasoft in the asmtools.license.local.password
property.
asmtools.license.use_network=false asmtools.license.local.password=<LICENSE PASSWORD> |
Uncomment the following properties and specify the License Server host and port (standalone License Server or DTP):
asmtools.license.use_network=true asmtools.license.network.host=[LICENSE SERVER HOST] asmtools.license.network.port=[LICENSE SERVER PORT] |
You can integrate the ASMTools into simple compile/link commands or large-scale build systems. The following steps describe the general workflow:
end of main()
function, then the dynamic data will be written into a .padd file (also called the dynamic data file). The dynamic data file will take the same base name as the executable.