forked from capstone-engine/capstone
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix skipdata setup (capstone-engine#1320)
* Fix skipdata_setup for when _cb is None ctypes prototype does not accept None value, so if we want to get a NULL function pointer then we should either call it with no arguments or pass zero as an argument. Fixes capstone-engine#1316 * Do store and return skipdata_setup data * Add convenience wrappers for skipdata_setup * Uncomment skipdata_setup tests * Add alternate usage variants to test_skipdata.py * document getter
- Loading branch information
Showing
2 changed files
with
41 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters