GithubHelp home page GithubHelp logo

rems-project / coq-cheri-capabilities Goto Github PK

View Code? Open in Web Editor NEW
1.0 7.0 0.0 183 KB

This repository contains an abstract implementation in Coq of CHERI capabilities, and a concrete implementation for Arm Morello.

OCaml 0.03% Coq 99.97%

coq-cheri-capabilities's Introduction

coq-cheri-capabilities

This repository contains an abstract Coq implementation of CHERI capabilities, and a concrete implementation for Arm Morello.

Building and Installing

  1. We recommend using opam (OCaml's package manager) to build the source code. If you don't yet have it installed, you can use your system's package manager (e.g. sudo apt-get install opam on Ubuntu 20.04) to install it, or follow the instructions from the opam website. On older versions of Ubuntu, such as 18.04, you will not be able to use opam from the package manager and will need to install it following the instructions on opam's website.

  2. With opam installed, if you don't yet have an opam switch then you can create one using (here we're using OCaml 4.14.1)

opam switch create coq-cheri-capabilities 4.14.1

Make sure to run eval $(opam env --switch=coq-cheri-capabilities) (or whichever exact command opam suggests) at the end to update your current shell environment.

  1. With an opam switch created, you must add the Coq and the Iris repositories, and pin the coq-sail-stdpp package, as follows:
opam repo add --this-switch coq-released https://coq.inria.fr/opam/released
opam repo add --this-switch iris-dev https://gitlab.mpi-sws.org/iris/opam.git
opam pin -n coq-sail-stdpp https://github.com/rems-project/coq-sail.git
  1. You may now install the opam package coq-cheri-capabilities and its dependencies with
opam install ./coq-cheri-capabilities.opam
  1. And you may build using
dune build

coq-cheri-capabilities's People

Contributors

ric-almeida avatar vzaliva avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

coq-cheri-capabilities's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.