Skip to content

yanxx297/type-infer

Repository files navigation

Type Inference

The source code of a type inference research project. For details of this project, read our technical report

Build

Run make in type-infer-src/ The following libraries should be installed before this code can be compiled:

Before Running

For standard libc support, the debug information file of libc must be copy into the same folder of the executable, with libc-2.15.so as its name. This file can be find in /usr/lib/debug/lib/i386-linux-gnu for Ubuntu Linux distribution.

Before executing the type inference executable infer, make sure struct.log is in the same folder.

Usage

./infer FILENAME [OPTIONS]

-ssaf
	Print out the single-step assignment format Vine IR. 
	Graph is printed out only when this option is turned on.
	
-single FUNCTION_NUMBER
	Analyze a single function, rather than the entire binary.
	The number of each function is available in the printed out results.
	
-libc
	Print out variables whose type is defined in standard C library.
	Those variables are ignored by default.

About

Binary based type (signedness) inference

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages