Open smoelius opened 4 years ago
This is an excellent issue. Indeed, running our test suite with the pytest plugin for Typeguard, there are many issues detected with incorrect type hints.
This is relevant to #1645, where I've been adding a bunch more type hints to the Linux platform emulation code.
https://typeguard.readthedocs.io/en/latest/#using-the-pytest-plugin
I did some preliminary experiments using typeguard's import hook directly. Specifically, I inserted these lines at the start of manticore.py:
Those experiments suggested that there are bugs present within the codebase that typeguard exposes.