aosp12/external/capstone/contrib/windows_kernel
hcl 7be3fd486c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
..
README init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
libc.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
libc.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00

README

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