Skip to content

Small library example. Good example for porting to rlbox and testing features

License

Notifications You must be signed in to change notification settings

PLSysSec/simple_library_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple library example

An example application that simulates a typical image parsing program The library simulates a typical image decoding library such as libjpeg This is meant to serve as a toy example for RLBox.

You can find the RLBox tutorial here. After reading this tutorial you should be able to migrate this application to using sandboxed libraries using RLBox.

This library has been tested on Linux, Windows and Mac.

Build with

cmake -S ./ -B ./build
cmake --build ./build --parallel

Run with

cmake --build ./build --target run

Application is in main.cpp. Library is lib.c.

The solution is in solution.cpp and can be run with

cmake --build ./build --target run_solution

About

Small library example. Good example for porting to rlbox and testing features

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published