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

More expressive variable placement #15

Closed
roblabla opened this issue Dec 3, 2020 · 2 comments
Closed

More expressive variable placement #15

roblabla opened this issue Dec 3, 2020 · 2 comments

Comments

@roblabla
Copy link
Contributor

roblabla commented Dec 3, 2020

Imagine we're dissecting a tar file, and we're interested in a particular PNG file within the tar file. We might do something along those lines:

TAR tar @ 0;
PNG interesting_file @ 0x1234;

This will allow the user to inspect the overall TAR file, and simultaneously see the PNG living at offset 0x1234. While this is nice, it might be more interesting to allow the user to do something like:

TAR tar @ 0;
PNG interesting_file @ tar.files[12].offset;

In general, having a more expressive offset would unlock a few really interesting possibilities.

@WerWolv
Copy link
Owner

WerWolv commented Dec 3, 2020

I definitely want to add this at some point. I might need to rethink the parsing / evaluation a little bit though, but this is a must have feature down the road for me.

@roblabla
Copy link
Contributor Author

roblabla commented Dec 5, 2021

I'm pretty sure this is now fully supported by ImHex. Closing.

@roblabla roblabla closed this as completed Dec 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants