Skip to content
forked from l3nkz/libmvas

Wrapper library for Linux' First Class Virtual Address Spaces

License

Notifications You must be signed in to change notification settings

LSS-USP/libmvas

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libmvas

'libmvas' is a library designed to be able to utilize Linux's first class address space feature without the necessary support from glibc or other standard C-libraries.

Install

To install the library and its headers to your system use the following commands:

mkdir build && cd build
cmake ..
make
make install

This command sequence will make an off-tree build of the library and install it to your system. The library will be located at /usr/local/lib and the headers at /usr/local/include. Both folders are typically also used by your compiler to locate libraries and headers so this should be fine.

Usage

Using the library is very simple. You just need to include the appropriate headers via the following include directives:

#include <mvas/vas.h>
#include <mvas/segment.h>

In addition you also need to link your final binary against the library. This can be achieved by adding -lmvas to the end of your compile command (e.g. gcc -o foo foo.c -lmvas).

About

Wrapper library for Linux' First Class Virtual Address Spaces

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.8%
  • CMake 4.2%