Checking the Running Mode in the Terminal Tool
Function
Uses the terminal tool to check the running mode.
Syntax
1 | /opt/DevKit/tools/devkit runningmode -S/--source <source_dir> |
/opt/DevKit/tools/ is the directory for storing the tool. Replace it with the actual directory.
Parameter Description
Argument |
Parameter |
Description |
|---|---|---|
-S/--source |
source |
Path of the source file to be scanned. This parameter is mandatory. The path must be a full path. Example: /path/to/sourcecode NOTE:
|
Example
The following demonstrates how to analyze the TestData project code and generate an analysis report in HTML format. Replace /home/TestData/ with the actual code path to be scanned.
1 | ./devkit runningmode -S /home/TestData |
The following information is displayed. Input the password of the common user in the interactive prompts.
1 2 3 | 64-bit mode check succeeded... Successfully downloaded the report to /opt/DevKit/tools/report/runningmode/20230607165827/report.html. |
Parent topic: Using Basic Functions in the Terminal Tool