Skip to content
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

Esil concept changes #320

Open
condret opened this issue May 7, 2017 · 10 comments
Open

Esil concept changes #320

condret opened this issue May 7, 2017 · 10 comments

Comments

@condret
Copy link
Member

condret commented May 7, 2017

to be honest, I'm a bit confused. seems like lots of stuff is wrong in esil atm. I quite often observe 64-bit specific code in the core-engine and wrong use of == operator. Anyone who thinks the same?
What can we do about this?

@alvarofe
Copy link

alvarofe commented May 7, 2017

I don't know if that was introduced due to radeco's requirements. I've not been following that much ESIL @XVilka should know better

@radare
Copy link

radare commented May 7, 2017 via email

@XVilka
Copy link
Contributor

XVilka commented May 8, 2017

Well. My bad I changed '==' to '-', but the problem is bigger. Currently ESIL is a not quite balanced. We need to produce cleaner design, add missing pieces if needed, remove spurious ones. ESIL need better definition and standartization, then stop to change the language itself.

@XVilka
Copy link
Contributor

XVilka commented May 8, 2017

It's also quite related to bignums (SSE/AVX/NEON registers support).

@alvarofe
Copy link

alvarofe commented May 8, 2017

What about meta issue about ESIL or hackmd to start discussing? just avoiding long conversation over here that goes nowhere.

@radare
Copy link

radare commented May 8, 2017 via email

@radare
Copy link

radare commented May 8, 2017 via email

@condret
Copy link
Member Author

condret commented May 10, 2017

https://github.com/radare/radare2/blob/master/libr/anal/esil.c#L1555
things like these are wrong in my opinion.
Further more I think we need to remove "<", ">", "<=" and ">=" operations (not sure if all of them exist, but some of them exist for sure). We only need "==".
In my opinion the bignum-support is something to think about, maybe even for the core-engine. The we should make every num bignum, to keep it simple. Maybe this is just something that we want to apply in the anal-plugin. It shouldn't be too hard to do, since you never access a bignum, only a vector.

@radare
Copy link

radare commented May 10, 2017 via email

@stale
Copy link

stale bot commented Jun 16, 2020

This issue has been automatically marked as stale because it has not had recent activity. Considering a lot has changed since its creation, we kindly ask you to check again if the issue you reported is still relevant in the current version of radare2. If it is, update this issue with a comment, otherwise it will be automatically closed if no further activity occurs. Thank you for your contributions.

@ret2libc ret2libc transferred this issue from radareorg/radare2 Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants