RunSafe Logo

  • Documentation
  • Code
  • Repo
  • Flare
  • ASRI Reports
  • Support
RUNSAFE
CODE
Deployment GuideHow it Works
Step 1

Select Install Method

Deployment Option
Deployment Option
Deployment Option
Deployment Option

Choose which install method you would like to see instructions for. Debs work for any debian-based OS such as Debian, Ubuntu, and Mint. RPMS work for any Fedora-based OS such as Fedora, centOS, RHEL, and Rocky Linux.


Step 2

Select Distribution

Need to know your distribution? Run this command in a terminal: cat /etc/centos-release


Step 3

Install Code

Run these commands on your system to create the file /etc/yum.repos.d/runsafesecurity-alkemist-code.repo (which lets dnf know to look for Code's Load-time Function Randomization (LFR) packages on our servers) and then install Code.


Step 4

Build with Code

Now that your system contains the files necessary for Code to run, prepend your build commands (make, gcc, g++, etc) with lfr-helper to automatically integrate Code into your existing build process.

The command shown will build the given hello_world.c into an Code-protected program called hello_world, but you can add lfr-helper to any build command, simple or complex.


Step 5

Verify Code Protection

Each tab shows a different way to confirm that Code has been applied to a given binary. The examples are for the hello_world binary built in the previous step.