Skip to content

Simple language for defining stub function semantics for binary analysis

License

Notifications You must be signed in to change notification settings

GaloisInc/stubs

Repository files navigation

Stubs

The Stubs project provides a simple programming language that is amenable to symbolic execution, along with infrastructure for calling Stubs functions during symbolic execution of binaries with macaw-symbolic. The primary intended use-cases are:

  • Providing models for external functions
  • Overriding complex functions with simpler models

This repository contains components needed by the Stubs definition language, including a parser, ABI wrapper, translator, binary loader, and symbolic execution infrastructure.

See the docs/ folder for a detailed explanation of the language and various components. The overview documentation is written in Markdown, using mdbook. Build HTML with:

cd doc/
mdbook build

Much of the code in this repository was originally developed as part of the ambient-verifier tool.

About

Simple language for defining stub function semantics for binary analysis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •