phra / PEzor

Open-Source Shellcode & PE Packer
https://iwantmore.pizza/posts/PEzor.html
GNU General Public License v3.0
1.81k stars 320 forks source link

Cast executor to void ptr in the INLINE_SYSCALLS(NtCreateThreadEx) call. #76

Closed Klendath closed 12 months ago

Klendath commented 2 years ago

PEzor/inject.cpp:232:22: error: no matching function for call to object of type '::jm::syscall_function<decltype(NtCreateThreadEx)>' (aka 'syscall_function<long (void *, unsigned long, _OBJECT_ATTRIBUTES , void , void , void , unsigned long, unsigned long long, unsigned long long, unsigned long long, _PS_ATTRIBUTE_LIST )>')

phra commented 12 months ago

thanks for the PR. i have already merged a PR containing this fix, please have a look at the updated master branch that should work on latest kali.