Skip to content

Setup

Install & Run

  • Environment required:Linux + Python3;

  • Download LIAN repository:

1
git clone https://gitee.com/fdu-ssr/lian.git
  • Install the requirements of python:
1
2
cd lian                  
pip install -r requirements.txt     
  • Basic use:
1
./scripts/lian.sh -l <language> <filepath>

Command-Line Parameter Configuration

LIAN's command-line options include

Parameter Synonym Description Example
-d --debug Enable the DEBUG mode .\lian.sh -d
-p --print_stmts Print statements .\lian.sh -p
-l --lang programming lang .\lian.sh -l python
-w --workspace the workspace directory (default:lian_workspace) .\lian.sh -w .\output
-f --force Enable the FORCE mode for rewritting the workspace directory .\lian.sh -f

Result Visualization

The following command will scan the default workspace and show results in a webpage. Please note that the visualization for large codebase will be slow.

1
./scripts/dfview.sh