Tags: 0vercl0k/udmp-parser
Tags
Integrate minidump generate to `udmp_parser` module + PYI definitions (… …#15) - Split `udmp_parser.utils` into a separate file, add a `generate_minidump` function. A variant of this function is added to the `pyproject.toml::project.scripts` to generate a `.exe` when `pip install`-ing it - Add type hints (`.pyi` file) for the python bindings (fix #12) - Fix one missing class (`MemoryInfoListStream_t` -> `MemoryInfoListStream`) which wasn't exposed before Co-authored-by: 0vercl0k <1476421+0vercl0k@users.noreply.github.com>
Move the includes out of the namespace (#4) This causes `unistd`'s functions, etc. to be in the `udmpparser` namespace which causes issues on OSX in one other project I am working on: ``` utils.cc:597:26: error: use of undeclared identifier 'readlink'; did you mean 'udmpparser::readlink'? const ssize_t Length = readlink("/proc/self/exe", ExePathBuffer.data(), ^~~~~~~~ udmpparser::readlink /Applications/Xcode_14.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:627:10: note: 'udmpparser::readlink' declared here ssize_t readlink(const char * __restrict, char * __restrict, size_t); ^ 1 error generated. ``` It also updates / fixes the CI.