microx
microx copied to clipboard
Safely execute an arbitrary x86 instruction
These should be recorded as a `dev` extra in `setup.py`, instead of being hardcoded in random places.
`DF` is not having a correct value after executing some instruction. Best seen with `popf` and can crash program in other cases (by possibly not restoring properly?)
`pop rsp` currently returns result increased by `8` opposed to expected value. One possible explanation is that following happens: ``` new = *rsp store(dst, new) *rsp = *rsp + 8...
`pdoc` works well for us on other projects, we should use it here.
I don't recall if we're actually saving/restoring enough. I think we're only saving xmm0 through xmm7. I'd need to think more about whether more is needed. I don't believe that...
All of our PyPI-packaged projects should use trusted publishing, rather than a manually configured API token. Example trusted publishing workflow: https://github.com/trailofbits/blight/blob/master/.github/workflows/release.yml Resources: * https://docs.pypi.org/trusted-publishers/ * https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/