Official Unicorn CPU emulator framework API documentation
Version | 1.0.3 | 2.0.0 is coming soon |
---|---|---|
Language | Chinese | English (TODO) |
Format | ... |
Official Unicorn CPU emulator framework API documentation
Home Page: http://kabeor.cn/Unicorn-Engine-Documentation/
License: BSD 3-Clause "New" or "Revised" License
Is it possible to translate this documentation to English?
您好,学习时看到,uc_hook_add 的代码示例中,这里是否有点笔误
// 这样只有两个参数的回调是否是应该用于 UC_HOOK_INSN 的类型的回调
void hook_syscall(uc_engine* uc, void* user_data)
{
int i;
uc_reg_read_batch(uc, syscall_abi, ptrs, 7);
printf("syscall: {");
for (i = 0; i < 7; i++) {
if (i != 0) printf(", ");
printf("%" PRIu64, vals[i]);
}
printf("}\n");
}
int main()
{
// 如果 Hook 的类型是 UC_HOOK_CODE,是否 回调应该是有四个参数
if ((err = uc_hook_add(uc, &sys_hook, UC_HOOK_CODE, hook_syscall, NULL, 1, 0))) {
uc_perror("uc_hook_add", err);
return 1;
}
// ...
}
感谢抽空解惑
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.