flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2 |
Author |
|
revolution 06 Feb 2008, 15:42
If adding a section is to problematic then you could consider putting your byte codes in a resource. Then your c-code can find the data using windows standard resource API's.
|
|||
![]() |
|
snify 06 Feb 2008, 18:16
So anyway, then I should add a resource section, resize it and get the bytecode using api. I really prefer to read bytecode in the normal way, so there's 2 ways:
1. To move the import section upward and resize the code section - The problem is that I'm using TCC (TinyC), and there's no such options. 2. Add a new section with the bytecode and then read it - How to reach it using C? Self-reading PE code? someone get me an idea how to do one of these |
|||
![]() |
|
revolution 06 Feb 2008, 18:59
snify: There is no "normal way". What you are doing is not normal.
If you insist on adding a section then imghelp.dll may be useful to you. Google it, I've never used it but I know it exists. |
|||
![]() |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.