Skip to content

flopsreallygotit/LogPass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LogPass

LogPass provides compiler wrapper and pass library that logs function traces

Dependencies

You can install dependencies on Debian/Ubuntu with following command:

sudo apt install clang-16 llvm-16-dev cmake make

Quick Start

To build pass library write:

mkdir build
cd build
cmake .. -DCMAKE_C_COMPILER=clang-16 -DCMAKE_CXX_COMPILER=clang++-16
make -j

Usage

Use loggercc as C-compiler and loggercxx as C++-compiler:

CC=/path/to/loggercc
CXX=/path/to/loggercxx

cmake / make / ninja / ...
./a.out

You'll receive logger.log file with function trace.

About

Generates log info about binary in dynamic

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •