flat assembler
Message board for the users of flat assembler.
Index
> Windows > patcher |
Author |
|
kourin 04 Oct 2012, 21:19
Hello,
I just made a program to generate a patcher executable on Win32. I suppose it's not very original but I needed one and wanted to practice fasm so I made one myself. Yet, it's more convenient and powerfull than most patchers I saw, since you can write a patch like this: Code: include 'patcher.inc' file "patchme.exe" at 0x100 db 0x25, 3, 12 db "hello world!", 0 dd 0x12345678 dw -1, 0x2289 at 23 mov eax, ecx push ecx jmp short 5 at 0x453 db 15 file "..\metoo.dll" at 1387 dw 1 done As you can see, several files are patched, at several positions, and you can write code as well as data. For a single file, single position patch, you can use the alternative syntax: Code: include 'patcher.inc' patch "filename", offset, byte_1, byte_2..., byte_n The zip file contains 'patcher.inc' and a 'readme.txt' providing syntax and examples. Have fun! Comments are welcome, regarding the program's functionnality or the code itself. =) k.
|
|||||||||||
04 Oct 2012, 21:19 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.