flat assembler
Message board for the users of flat assembler.
Index
> High Level Languages > A simple experimental Linux back-end compiler |
Author |
|
FlierMate 25 Apr 2022, 14:03
This is my last year project, after researching disassembly output of ELF64 generated by FASM.
It was written in Pascal anyway, and only two basic commands are supported: WriteLine ReadLine I found that the offset of message to be written is calculated as follows... although I still do not understand why is it not straight forward like RVA in Windows PE format? Code: addr := DataSegment.p_vaddr - FileHeader.e_entry - (cs_offset + SizeOf(addr)) + last_ds_offset; Please move this post to elsewhere if it is irrelevant to here. Thanks admins! You can also watch the demo: https://asciinema.org/a/442351
|
||||||||||||||||||||
25 Apr 2022, 14:03 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.