Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@quirkylemon
Copy link
Contributor

Changes

  1. add the option to change MemCheck condition
  2. draw zeros with a darker color in the memory viewer
  3. fix a potential issue with a char array that is too small(?) in DrawMediaDecodersView.

When reverse engineering it can be helpful for zeros to be drawn with a darker color so you can visually see the structure of data in ram.
The new color was basically just a random choice so feel free to change it.

I only found the small char array because of a compiler warning so it is very possible that nothing bad actually happens.

@anr2me
Copy link
Collaborator

anr2me commented Apr 26, 2025

Is it more convenient to looked at zeroes with different color? since those zero byte could be a part of 16-bit or larger value.
Making it optional/switchable could be better.

@quirkylemon
Copy link
Contributor Author

Yeah that's fair.
It's helpful for me to see zeros with a different color, so I'll add a toggle

Copy link
Owner

@hrydgard hrydgard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine to me. I guess we could add more general value color schemes, but this is ok as-is.

Why left as draft?

@hrydgard hrydgard added this to the v1.19.0 milestone Apr 30, 2025
@hrydgard
Copy link
Owner

Ping @quirkylemon

@quirkylemon
Copy link
Contributor Author

sorry I was busy, I added a toggle just in case this isn't a universally helpful feature.
Also I Genuinely don't remember why I set this as a draft.

@quirkylemon quirkylemon marked this pull request as ready for review May 9, 2025 14:19
@hrydgard hrydgard merged commit e1e352c into hrydgard:master May 13, 2025
19 checks passed
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

Successfully merging this pull request may close these issues.

3 participants