Some quick tips for using QEMU from the command line (on macOS, but should work on Linux too).
Download an OS ISO, e.g., the netinstall Debian 9.7 ISO:
wget https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-9.7.0-amd64-netinst.iso
Some quick tips for using QEMU from the command line (on macOS, but should work on Linux too).
Download an OS ISO, e.g., the netinstall Debian 9.7 ISO:
wget https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-9.7.0-amd64-netinst.iso
| (** | |
| MAKEFILE: | |
| plugin = primus_evaluator_example | |
| all: clean build install | |
| build: | |
| bapbuild -pkg bap-primus -tags 'warn(A)' $(plugin).plugin |
To run the examples below, open baptop, then:
open Bap.Std;;
| (*********************************************************) | |
| (** Simple functor example. *) | |
| (** A simple signature. *) | |
| module type X = sig | |
| val x : int | |
| end | |
| (** Here's a fuctor. | |
| * It takes an input: [M], which is an implementation |
Useful tutorials:
Show the dynamically linked libraries:
| module Token = struct | |
| type t = | |
| | L_array_bracket | |
| | R_array_bracket | |
| | L_object_bracket | |
| | R_object_bracket | |
| | Colon | |
| | Comma |
Tutorial/cheat sheat for running/compiling OCaml.
| (** * Tactics: More Basic Tactics *) | |
| (** This chapter introduces several additional proof strategies | |
| and tactics that allow us to begin proving more interesting | |
| properties of functional programs. We will see: | |
| - how to use auxiliary lemmas in both "forward-style" and | |
| "backward-style" proofs; | |
| - how to reason about data constructors (in particular, how to use | |
| the fact that they are injective and disjoint); |