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

ascii search bookmark first value only #48

Open
xko2x2 opened this issue Nov 19, 2022 · 2 comments
Open

ascii search bookmark first value only #48

xko2x2 opened this issue Nov 19, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@xko2x2
Copy link

xko2x2 commented Nov 19, 2022

if you bookmarked an ascii address you can edit only the first character(first ascii)
image
image

@xko2x2
Copy link
Author

xko2x2 commented Nov 19, 2022

@Qwokka @binary-person

@Qwokka
Copy link
Owner

Qwokka commented Nov 20, 2022

Hi @xko2x2

I'm not really sure why @/binary-person has been tagged in the last few issues, but out of respect for their time I'd ask that they (And other contributors besides me) only be tagged in issues related to their commits. I appreciate it!

Anyway, you're right that Cetus doesn't have a good UI for editing strings (Or really anything variable-length). I'll add this as a possible enhancement in the future.

In the meantime, you can modify this string using the browser console:

const newString = "abcd";
const address = 0x0bc5dec4;

for (let i = 0; i < newString.length; i++) {
    cetus.modifyMemory(address + i, newString.charCodeAt(i), "i8");
}

Just keep in mind that if newString is longer than the original string, you run the risk of corrupting memory that comes after the original string in memory.

Jack

@Qwokka Qwokka added the enhancement New feature or request label Nov 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants