Hi!
I want to create dso for custom VEX function, say for the addition of two numbers of various types
Add(number1, number2)
I can create a callback like that
static void
Add(int, void *argv, void *)
{
// Some code
}
And I think what I can register this function two or more times with different signatures like
new VEX_VexOp(“Add@&III”, Add); // for integer numbers
new VEX_VexOp(“Add@&FFF”, Add); // for float numbers
…
How I can know, what type the input parameters?
One function, mutiple types of parameters?
2271 0 0- hoknamahn
- Member
- 398 posts
- Joined: July 2005
- Offline
-
- Quick Links