GitXplorerGitXplorer
t

llvm-normalizer

public
0 stars
0 forks
2 issues

Commits

List of commits on branch master.
Unverified
62dae3fdfdb1d770265a2e5701027e03dd044267

update readme

ttaquangtrung committed 3 years ago
Unverified
287f4612ef6e191790cd183fafbdd53e809f02fd

write file

ttaquangtrung committed 4 years ago
Unverified
4f459ce333f517f5c896480d27409c04a233680b

fix crash bugs

ttaquangtrung committed 4 years ago
Unverified
fbacb516c4654de78c911aba21f5480d84e09c9d

update

ttaquangtrung committed 4 years ago
Unverified
4dc8fa14d371c40c69fdea285eb547fbb4546448

finally no crash bugs with ptaben

ttaquangtrung committed 4 years ago
Unverified
0804200eb765e8141fe9c8ea9ca9fee4e367073a

fix crashing bugs

ttaquangtrung committed 4 years ago

README

The README file for this repository.

#+title: Llvm-normalizer #+subtitle: A LLVM bitcode normalizer to support the Discover analyzer

  • Prerequisites: ** External libraries:

    • For backward-cpp:

      #+begin_src sh

      install LLVM and Clang 11 (or the suitable version)

      sudo apt-get install llvm-11-dev clang-11 libclang-11-dev

      install other libraries

      sudo apt-get install libedit-dev #+end_src

** This tool:

  • LLVM framework
  • Installation

    • Modify the file CMakeLists.txt to update LLVM_CMAKE_PATH_HINTS to the CMake folder corresponding the installed LLVM, (version 11.1 is preferred). For examples:

      #+begin_src cmake set(LLVM_CMAKE_PATH_HINTS "$HOME/llvm/llvm-11/lib/cmake/llvm" # manually installed "/usr/lib/llvm-11/lib/cmake/llvm/" # Ubuntu installed #+end_src

    • Add the llvm bin path to PATH

    • Eg: Add export PATH=/usr/local/opt/llvm/bin:$PATH in /.bash_profile

    • Build by CMake:

      #+begin_src sh mkdir build cd build cmake ../ make #+end_src