Skip to content

meerkatone/static_single_assignment_with_binary_ninja

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Static Single Assignment with Binary Ninja

Static Single Assignment (SSA) with Binary Ninja

YouTube Video: https://youtu.be/XL0lepxA2L0

Tools:

Get the Trivision webs binary:

Extract SSA from Trivision webs using the API and the Binary Ninja GUI

Within Binary Ninja we can jump to 0xB7E8, and use current_mlil to do the following:

  • Check if the 3rd param to memcpy takes negative range values
    • current_mlil.ssa_form[25].params[2].possible_values.ranges[0].end

  • Check the def-use for phi nodes
    • ssa = current_mlil.ssa_form[17]
    • (current_mlil.ssa_form.get_ssa_var_definition((ssa).src[0]))
    • (current_mlil.ssa_form.get_ssa_var_uses((ssa).src[0]))

References

About

Static Single Assignment with Binary Ninja

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published