esp32_firmware_patching_framework icon indicating copy to clipboard operation
esp32_firmware_patching_framework copied to clipboard

Is this library updated?

Open Taolaw opened this issue 1 year ago • 1 comments

I have been running the compiled firmware for a while (about ten minutes) and found that the hardware hangs inexplicably. I want to debug and analyze it, but I only found this GitHub repository. Is there more information available for reference? Thank you.

Taolaw avatar Apr 07 '24 09:04 Taolaw

Hi @Taolaw, this repository contains the latest firmware source of braktooth fuzzing driver. However, it relies on platformio framework to compile or debug the firmware. You can find more information on debugging esp32 for your troubleshooting here (if you are using esp32-wrover-kit).

However, if you want more details on how the firmware works, the braktooth paper discusses it on Section 5.2 (Espressif Bluetooth Internals).

You can find the ELF patches (patching from outside) applied to the firmware in UserPatcher.py, and the ROM hooks (patching from inside) in the [source code of the firmware within function bt_apply_rom_hooks.

Let me know if this clarifies your question.

Matheus-Garbelini avatar Apr 07 '24 12:04 Matheus-Garbelini