xref: /aosp_15_r20/external/capstone/contrib/windows_kernel/README (revision 9a0e4156d50a75a99ec4f1653a0e9602a5d45c18)
1*9a0e4156SSadaf EbrahimiFor Windows kernel programming, the SDK does not offer some functions
2*9a0e4156SSadaf Ebrahimineeded by Capstone. The missing functions are:
3*9a0e4156SSadaf Ebrahimi
4*9a0e4156SSadaf Ebrahimi	- Memory allocations: malloc(), calloc(), realloc() & free().
5*9a0e4156SSadaf Ebrahimi	- Format input variables & write out result to char buffer: vsnprintf()
6*9a0e4156SSadaf Ebrahimi
7*9a0e4156SSadaf EbrahimiThis directory contains some code providing above-mentioned functions, so you can
8*9a0e4156SSadaf Ebrahimiintegrate Capstone with your Windows-kernel drivers using C++.
9*9a0e4156SSadaf Ebrahimi
10*9a0e4156SSadaf EbrahimiAll the code here is contributed by Peter Hlavaty <[email protected]>
11*9a0e4156SSadaf EbrahimiSee the full example with Capstone integration at https://github.com/zer0mem/libc.git
12