Jump to content
Tuts 4 You

Change of ImageBase in code section - MASM disassembler??


Recommended Posts

On x64 there is no need for fixing code section, so all worked ok.
For x32 I have to change ImageBase (rebase) for code section.
For doing that I have disassemble code section or at last parse instruction and add its size,
then check for instructions I wanna fix, is there any MASM disassembler with source code?

Link to comment

My project is in MASM (that's the reason!)
Also source code needed since I wanna change some thing like getting relative address where is the dword to be fixed!

Thanks for your help!

Edited by CodeCracker
Link to comment

well masm can just call and load from any lib when linked, so just grab beaengine (easiest), look at its diassm struct and just process the structs on the disasm, its relatively easy and pretty quick and the structs would contain the dword you're looking for etc.. just grab it, read the doc, learn the struct, i think theres masm examples too



Edited by evlncrn8
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...