flat assembler
Message board for the users of flat assembler.
Index
> Windows > How write simple debugger thread ? |
Author |
|
Ali.Z 01 Jan 2021, 20:43
if its only 1 asm instruction, then you can use SEH x86; just place an int3 after your instruction.
unless you want to write a fully featured debugger, then you may want to check msdn/docs for windows debugging mechanism. _________________ Asm For Wise Humans |
|||
01 Jan 2021, 20:43 |
|
Roman 02 Jan 2021, 06:46
No.
I dont want write big debugger. I want writed my small debugger. For debugging string search\replace small asm code. Idea print string and show different colors whear is text position now and new changed text copy. I press key (for example F8 ) and my debugger run one asm command. And show whear is text position now and new changed text copy. Because not easy modifi code (after few months) and remember how work logic this asm code in 40 asm lines. |
|||
02 Jan 2021, 06:46 |
|
Ali.Z 02 Jan 2021, 07:48
in this case you need a disassembler, a debugger is just a tiny program that can pause/continue execution of debugee's threads.
replacing and/or stepping assembly instructions cant be done by the debugger itself, you need a disassembler. disassembler is the one that tells the debugger how many bytes is the next instruction to execute and pause the thread. so you better off using debuggers like olly because it comes with a disassembler. _________________ Asm For Wise Humans |
|||
02 Jan 2021, 07:48 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.