Skip to content
/ flopz Public
forked from Flopz-Project/flopz

Flopz - Firmware Liberation on Python

License

Notifications You must be signed in to change notification settings

LuDubies/flopz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flopz - Firmware Liberation on Python

Python application

Flopz is an assembler toolkit written in pure python. Use it to:

  • Create shellcode for embedded systems
  • Dynamically patch large collections of binaries
  • Instrument firmware images, for debugging and fuzzing

Currently, Flopz supports:

  • ARM: Thumb Mode
  • PPC: VLE, only
  • RISC-V: RV32I
  • IA-32 (work in progress)

If you'd like to see another architecture implemented, feel free to reach out anytime - we enjoy doing this!

What makes Flopz different from keystone, rasm2, gcc* etc. ?

Instead of just turning assembly strings into bytes, Flopz aims to make interactive patching and instrumenting firmware easier. For this, it provides a low-level instruction and register API that allows you to build up shellcode, modules and functions directly in python, without dealing with strings of assembly syntax.

In embedded security testing, no device is like another: Because of this, we provide an object-oriented approach for defining custom targets, so that as many components as possible can be reused across projects involving different devices & processor architectures.

Since Flopz has been written from scratch in pure python, it may not support as many architectures as other tools (such as those based on Clang/LLVM). However, it is our goal to cover exactly those architectures that matter to embedded security people which may not be covered by other tools. Also, extending Flopz is made less challenging through a maintained set of unit tests and code documentation.

Flopz is meant to work together with other tools. In particular, there is a Ghidra Extension which helps you instrument firmware directly in Ghidra.

About

Flopz - Firmware Liberation on Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%