Skip to content

Automatically inserts pledge(2) calls into C/C++ code.

Notifications You must be signed in to change notification settings

baconator/autopledge-insert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 

Repository files navigation

Grand Plan

  • Use BEAR to generate a compilation database.
  • Run an analysis over that in order to determine what capabilities are used in which symbols.
  • Annotate all implicated files with the computed pledge statements.

Usage (eventually)

  • ¯\_(ツ)_/¯ Just discovered bear, so lets just see what arises organically.

Requirements (MSYS2)

  • (all prefixed w/mingw-w64-x86_64-) clang, clang-tools-extra, cmake, extra-cmake-modules, gdb, make, lld

Building

  • mkdir build
  • cd build
  • cmake -G "MSYS Makefiles" ../src
  • make

Links

About

Automatically inserts pledge(2) calls into C/C++ code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published