[Lldb-commits] [lldb] [lldb] Add example differential debugging script (PR #191445)

via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 10 08:31:56 PDT 2026


https://github.com/bungeman created https://github.com/llvm/llvm-project/pull/191445

Add an example script diffdbg.py which automates running two copies of the same executable until a given function is reached (allowing warm up) and then continues to run the two processes until they begin executing different instructions. The executables can be given different command line arguments.

This script has proven quite useful in tracking down where in an opaque binary two similar inputs unexpectedly diverge. This script is based on the existing disasm.py.

The server is unavailable at this time. Please wait a few minutes before you try again.


More information about the lldb-commits mailing list