Skip to content

crude build-and-run example based on artfact submission to asplos

Notifications You must be signed in to change notification settings

portersrc/decker-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

2023.01.18 cporter

This repo attempts to provide a simple example of how to build and run a
new program using the Decker artifact here:
  https://doi.org/10.5281/zenodo.7222072

Launch the container:
    $ docker run \
            -it \
            --rm \
            --network host \
            -w /root/decker \
            -e HOST_PERMS="$(id -u):$(id -g)" \
            --name decker-ae \
            decker:latest \
            /bin/bash

In the container, you'll clone the repo, build Decker, and run the example:

1. Clone the repo:
    $ git clone https://github.com/portersrc/decker-example.git

2. Build the Decker code:
    $ cd whole-program-debloat
    $ source setenv
    $ mkdir build
    $ cd build
    $ cmake ../src
    $ make

3.Run this example:
    $ cd ~/decker/decker-example
    $ ./symlink-build-and-run.sh # Expected output: "Success. Exiting."
    $ echo $? # Expected output: 0

About

crude build-and-run example based on artfact submission to asplos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published