pypcode
pypcode copied to clipboard
Python bindings to Ghidra's SLEIGH library for disassembly and lifting to P-Code IR
On the call-path from `m_document = m_document_storage.openDocument(path);` in `sleigh/xml.cc::xml_parse()`, the global variables `global_scan` and `handler` are set and used to perform the xml parsing. This is problematic in a multithreaded...
Would it be possible to skip over data that is mixed with code (ARM) instead of returning? Looking at incrementing the offset by the default instruction alignment here instead of...
updates: - [github.com/abravalheri/validate-pyproject: v0.15 → v0.16](https://github.com/abravalheri/validate-pyproject/compare/v0.15...v0.16) - [github.com/asottile/pyupgrade: v3.15.0 → v3.15.1](https://github.com/asottile/pyupgrade/compare/v3.15.0...v3.15.1) - [github.com/psf/black: 23.12.1 → 24.2.0](https://github.com/psf/black/compare/23.12.1...24.2.0) - [github.com/astral-sh/ruff-pre-commit: v0.1.11 → v0.2.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.11...v0.2.2)
### Description Sync to Ghidra 10.4 ### Alternatives _No response_ ### Additional context _No response_
### Description In pyvex, user can specify `skip_stmts` to pre-filter unused statements and just look at control flow information. This would be nice to have as an option, so we...
### Description If `max_instructions=1` when pyvex lifts an instruction that will cause delay slot execution, it will return `NoDecode`. pypcode will actually return 2 instructions. Probably best to be consistent...
### Description Support FreeBSD builds. @rhelmot is already working on this. ### Alternatives _No response_ ### Additional context _No response_
### Description IIRC impacted by 10.2.2 update @ https://github.com/angr/pypcode/blob/ec67cfcf86e587ed8578d3153e3d751fdd40ec54/pypcode/native/csleigh.cc#L255 ### Steps to reproduce the bug _No response_ ### Environment _No response_ ### Additional context _No response_
### Description There are more encoded details about address spaces. Expose them. ### Alternatives _No response_ ### Additional context _No response_