Skip to content

trailofbits/divergent-representations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Queries for Divergent Representations

Sometimes, while applying optimizations to a program, a C compiler will produce code that represents a single source code variable with different representations that produce divergent program semantics when inputs cause undefined behavior.

These are queries for identifying undefined behavior when it occurs.

Perform a 'bottom-up' search using binja-scripts over compiled binaries with Binary Ninja.

Perform a 'top-down' search using codeql-queries over source code with CodeQL.

About

CodeQL and Binary Ninja scripts to accompany the blog post

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •