-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Some work to consummate esil-rs #9
base: master
Are you sure you want to change the base?
Conversation
3a0282b
to
9556bb1
Compare
Btw, I found esil-rs built a basic assumption about handling internal variables, which is Internal varibables will never be used before EEq/EPoke and after these basic arithmetic operands in ESIL. For example, following ESIL string will never appear in practice.
To make sure the validity, @sushant94 would you mind checking this assumption? |
@ZhangZhuoSJTU Imo, the above esil does not make sense. $c is not set by this operation as there is no assignment to |
@sushant94 That's it! I just want to make sure it does work in the correct way. Thanks ;P |
2ef3df8
to
d04e278
Compare
d04e278
to
187d18d
Compare
187d18d
to
f41184d
Compare
d953ad2
to
fbe94b8
Compare
This PR is suspended for it is not so urgent and I am working on VSA right now. |
@ZhangZhuoSJTU ping? @kriw @chinmaydd @HMPerson1 please take a look. |
I think it would be better to split TODOs into different PRs. |
@@ -236,14 +246,16 @@ impl Tokenize for Tokenizer { | |||
"%=" => vec![Token::PCopy(1), Token::EMod, Token::PPop(1), | |||
Token::EEq], | |||
|
|||
"=[]" => vec![Token::EPoke(64)], | |||
"=[]" => vec![Token::EPoke(USE_DEFAULT_SIZE)], |
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.
Why not using(define) new enum value (e.g., Token::EPokeDefaultSize
) instead of Token::EPoke(USE_DEFAULT_SIZE)
Agree with @kriw here, we can break down issues addressed in this PR into multiple ones. Maybe we can have Rust enthusiasts contribute for Hacktoberfest? IMO following can be
Implementing vm.rs would require design discussions especially if we plan to support features like snapshotting, timeless vm evaluation, etc. EDIT: Also, I think @ZhangZhuoSJTU is almost done with checkpoint 3 in this PR. If we can clean things up and merge existing work it would be great. |
Ping? |
TODO: Migrate to the https://github.com/radareorg/radeco-lib repository. |
Todo List
jt
,js
,ds