Skip to content

Commit

Permalink
Merge pull request #2 from Yunlongs/LLVM-10.0.1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
Yunlongs authored May 3, 2022
2 parents f9b72a0 + 897ebc2 commit 921109c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions plugins_src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@ Here are three steps to build them:
add_subdirectory(ExtractFunctionPrototypes)
add_subdirectory(FreeNullCheck)
add_subdirectory(MemoryDataFlow)
add_subdirectory(MemoryDataFree)
add_subdirectory(MemoryDataFlowFree)
```
- Change into the build directory of clang, and run the build command.
- Change into the build directory of clang, and run the build command:
- - `ninja ExtractFunctionPrototypes`
- - `ninja FreeNullCheck`
- - `ninja MemoryDataFlow`
- - `ninja MemoryDataFlowFree`


Finally, there are four corresponding .so files in the `lib` directory which in the build directory of clang.
Expand All @@ -27,6 +31,7 @@ The analyzer, GoshawkAnalyzer, is build upon the engine of CSA. Same to clang pl
```buildoutcfg
add_subdirectory(GoshawkAnalyzer)
```
- Change into the build directory of clang, and run the build command.
- Change into the build directory of clang, and run the build command:
- - `ninja GoshawkAnalyzer`

Finally, the GoshawkAnalyzer.so will be generated in the `lib` directory which in the build directory of clang.

0 comments on commit 921109c

Please sign in to comment.