-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Start refactoring of esil engine #23663
Conversation
|
||
typedef struct r_esil_memory_interface_t { | ||
void *mem; | ||
REsilMemSwitch mem_switch; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
iobank thing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, but it's optional, so you could also use something that doesn't provide banking
libr/include/r_esil.h
Outdated
typedef bool (*REsilMemWrite)(void *mem, ut64 addr, const ut8 *buf, int len); | ||
|
||
typedef struct r_esil_memory_interface_t { | ||
void *mem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
userdata?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, within r2 this would be RIO *
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better user userdata instead of mem for cosistency
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will change that later
a531574
to
fab7770
Compare
build fails because you cant use io apis from esil library, because it hasnt been built yet. you can use RIOBind instead or try to mess with the library dependency order in library/libs.mk |
089700a
to
948c131
Compare
Description