Speakeasy requires Python 3.10+.
python3 -m pip install speakeasy-emulatorVerify installation:
speakeasy -hgit clone --recurse-submodules https://github.com/mandiant/speakeasy.git
cd speakeasy
python3 -m pip install -e ".[dev]"
python3 scripts/gen_win32_signatures.py
python3 scripts/gen_phnt_signatures.pyThe last two steps build the API signature databases from the deps/win32json and deps/phnt submodules (see Adding API handlers). Wheels built with python -m build include them automatically; an editable install needs them generated once, and again after updating the submodules.
Optional GDB support from source:
python3 -m pip install -e ".[dev,gdb]"Build image:
cd <repo_base_dir>
docker build -t speakeasy:local .Run container with a host sample directory mounted at /sandbox:
docker run -v <path_containing_samples>:/sandbox -it speakeasy:local