You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include <iostream>
|
|
#include <unicorn/unicorn.h>
|
|
|
|
int __cdecl main(int argc, const char* argv[])
|
|
{
|
|
uc_err err;
|
|
uc_engine* uc;
|
|
|
|
err = uc_open(UC_ARCH_X86, UC_MODE_64, &uc);
|
|
|
|
if (err)
|
|
{
|
|
std::printf("[!] uc open failed with: %u\n", err);
|
|
return -1;
|
|
}
|
|
}
|