flat assembler
Message board for the users of flat assembler.

Index > Windows > KMD stuff

Thread Post new topic Reply to topic

Joined: 19 Sep 2003
Posts: 8
AMD64 30 Nov 2003, 18:59
Here’s an include file for FASM that contains the usual stuff needed for coding KMDs. It was created by converting and merging the MASM incs from Four-F’s KMDKit by hand. There might be something missing/wrong, so be sure to check it, if you have time. Also there are some structure definitions, that don’t have all the substructure’s labels defined, so you might need to expand them, or use the substructure to index the original structure. Sorry, I’m currently too busy to expand them all (although it wouldn’t take that long).

One other thing... The latest FASM pre-release ( sets DllCharacteristicts from the PE-header to 2000h, when format PE DLL native is used. This works for WDMs, but not for KMDs. There should be separate options for KMD and WDM, like maybe “format PE WDM” and “format PE KMD”.

I had a problem with this, when I was working on a KMD with FASM. It worked well, except that I couldn’t unload it Very Happy

I made a temporary fix for my own use, but hope you will correct it soon.

Filename: KMD.zip
Filesize: 68.95 KB
Downloaded: 1162 Time(s)

Post 30 Nov 2003, 18:59
View user's profile Send private message Reply with quote
Tomasz Grysztar

Joined: 16 Jun 2003
Posts: 8346
Location: Kraków, Poland
Tomasz Grysztar 30 Nov 2003, 19:46
OK, I'm adding WDM flag to the new fasm - to be used in the same way as DLL flag (and it should be combined with DLL flag usually).
Post 30 Nov 2003, 19:46
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.