flat assembler
Message board for the users of flat assembler.

Index > Windows > import file 'my.dll'

Author
Thread Post new topic Reply to topic
edfed



Joined: 20 Feb 2006
Posts: 4354
Location: Now
edfed 02 Oct 2024, 08:58
as projects becomes more and more huge, and i like monolitic binaries, is there a way, like in cmake, to embed the dll inside a binary?

and by extension, a way to embed any type of file or ressource inside the binary.

and more important, is there a way to exploit them?

i am just seeking the entry point of the solution, thanks.
Post 02 Oct 2024, 08:58
View user's profile Send private message Visit poster's website Reply with quote
Hrstka



Joined: 05 May 2008
Posts: 63
Location: Czech republic
Hrstka 02 Oct 2024, 14:17
Sure, fasm has file directive. See the manual for more info. You will also need to store the size and offset within the binary, so that you can extract the files during runtime.
Post 02 Oct 2024, 14:17
View user's profile Send private message 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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.