Mascarado
asked on
Get register length/size?
Hi guys, I need your help :/
I have a register that points to one memory address, like this:
I need to get the length/size of the string and compare, if the string length are most than 10, the string need to be cleaned.
Can anyone help me?
NOTE: I'm writing this asm code direct in executable using OllyDbg, so, procedures in MASM, TASM, NASM, etc, will not work.
I have a register that points to one memory address, like this:
MOV ESI,DWORD PTR SS:[00123456]
And, this address(00123456), have a RANDOM string, like: "Hello, this is a string".I need to get the length/size of the string and compare, if the string length are most than 10, the string need to be cleaned.
Can anyone help me?
NOTE: I'm writing this asm code direct in executable using OllyDbg, so, procedures in MASM, TASM, NASM, etc, will not work.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
Answer those questions and I will see what I can do.