Triton
Triton copied to clipboard
Pass execCallbacks argument from Python binding
When I'm in read memory callback for example, I want to set the concrete memory value without triggering the memory write callback I registered. It would be useful if the Python binding has the execCallbacks parameter for me to specify this behavior.
You may define a global variable for that purpose.
It would be useful if the Python binding has the execCallbacks parameter for me to specify this behavior.
Indeed. I'm in vacation atm but as soon as I came back I will add this feature. Meanwhile, maybe you can try what @SweetVishnya suggest?
Yes, I'm already using a global variable as workaround, but since this may be a helpful feature, and already available in C++, I thought would be nice to have in Python binding too.
You could consider spending a few minutes adding it to the python bindings and sending a pull request 😉
merged