capstone/contrib/windows_kernel
Quang Nguyễn 5c96743735 Fix an integer overflow issue (#871)
* provide a validity check to prevent against Integer overflow conditions

* fix some style issues.

* provide a validity check in malloc() function to prevent against integer overflow conditions

* missing Ntintsafe.h

* use tabs for indentation
2017-03-20 20:13:14 +08:00
..
libc.cpp Fix an integer overflow issue (#871) 2017-03-20 20:13:14 +08:00
libc.h add contrib/ directory 2014-05-31 12:07:25 +08:00
README add contrib/ directory 2014-05-31 12:07:25 +08:00

For Windows kernel programming, the SDK does not offer some functions
needed by Capstone. The missing functions are: 

	- Memory allocations: malloc(), calloc(), realloc() & free().
	- Format input variables & write out result to char buffer: vsnprintf()

This directory contains some code providing above-mentioned functions, so you can
integrate Capstone with your Windows-kernel drivers using C++.

All the code here is contributed by Peter Hlavaty <zer0mem@yahoo.com>
See the full example with Capstone integration at https://github.com/zer0mem/libc.git