简体   繁体   中英

Ascii code and unicode are destroyed in ollydbg

I'm Studying basic step of reverse engineering. The program is simple that pop up string "Hello world!", using MessageBox() API. Practice work is find "Hello world" in a dump window and change that string into "Hello Reversing!".

I found a main method, and succeeded find adress where the "Hello string' located. But I think ASCII code is wrong.

There will be show string "Hello.World!.." I think. But it doesn't Is there any error on ASCII code? or something I missed it?

ascii and unicode is weired

You didn't find the string, obviously. Addresses in Dump and Disassembly windows reveal that you are looking at the same place in memory and this memory contains the code that calls MessageBox, not its string arguments.

You need to follow one of its operand in dump to find the string you are looking.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM