Skip to content

toolCHAINZ/jingle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jingle: SMT Modeling for SLEIGH

jingle is a library for program analysis over traces of PCODE operations. I am writing in the course of my PhD work and it is still very much "in flux".

This repository contains a Cargo Workspace for two related crates:

  • jingle_sleigh: a Rust FFI in front of Ghidra' s code translator: SLEIGH. Sleigh is written in C++ and can be found here. This crate contains a private internal low-level API to SLEIGH and exposes an idiomatic high-level API to consumers.
  • jingle: a set of functions built on top of jingle_sleigh that defines an encoding of PCODE operations into quantifier-free SMT statements operating on objects of the Array(BitVec, BitVec) sort. jingle is currently designed for providing formulas for use in decision procedures over program traces. A more robust analysis is forthcoming, depending on my research needs.

Usage

In order to use jingle, include it in your Cargo.toml as usual:

jingle = { git = "ssh://[email protected]/toolCHAINZ/jingle", branch = "main" }

Again, this project is under active development an is still of "research quality" so it would probably make sense to target a tag or individual commit. I expect I will eventually put this on crates.io.