flat assembler
Message board for the users of flat assembler.

Index > Main > binary editing.

Author
Thread Post new topic Reply to topic
back`



Joined: 18 Oct 2007
Posts: 2
back`
How far can one get into binary editing?
I think the ability to edit binary exe files could be an interesting skill.

currently I'm just experimenting.

but the problem i run into is when I add an extra operation say, inc ax. it moves all the rest of the offset values which are relative to the start of the program off.

Is there any way around this?

Manually Incrementing all the offset values after i add code seems impossible.
Post 21 Oct 2007, 11:50
View user's profile Send private message Reply with quote
Artlav



Joined: 23 Dec 2004
Posts: 188
Location: Moscow, Russia
Artlav
I think it's akin to the pixel graphics - like doing all the stuff photoshop designed for in mspaint.

What you can easily do is change values of constants, like recoloring some parts, but inserting a thing or changing size already necessitates a big redraw.

Adding some new instructions can be tricky - in the pre-assembler days it was done by replacing the nearby instructions with jmp to some empty place in memory, putting the replaced instructions in that place, appending what you wanted to add, and jmp back into the old place.

Try thinking in terms of electronics - you can't stuff a part in, but you still can wire it in.
Post 21 Oct 2007, 13:03
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.