flat assembler
Message board for the users of flat assembler.

Index > Main > Using FASM for kernel module programming

Author
Thread Post new topic Reply to topic
Abhijeet



Joined: 14 Jan 2004
Posts: 1
Abhijeet 14 Jan 2004, 11:05
Can some one tell me Please how fasm can be used for developing kernel modules under linux!!

I want to convert a module to asm fast and i prefer using fasm as it is simple than using NASM and inline assembler

Help me fast

TIA
Post 14 Jan 2004, 11:05
View user's profile Send private message Yahoo Messenger Reply with quote
HarryTuttle



Joined: 26 Sep 2003
Posts: 211
Location: Poland
HarryTuttle 14 Jan 2004, 12:45
Hi,men Razz
I thought that linux' source is written in C...
IMHO:if you want to change something, first you must to disassm the binary file then rewite it to asm and then make some optimizations and improvements.

_________________
Microsoft: brings power of yesterday to computers of today.
Post 14 Jan 2004, 12:45
View user's profile Send private message Reply with quote
scientica
Retired moderator


Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
scientica 14 Jan 2004, 15:22
Most of the kernel is C/C++ source, but some parts are written in asm (for natural reasons).

I think you can write kernel module in any language that can procude files that are kernel objects or can be converted/linked to such. I'd recoment googling for a howto on kernel modules/objects

_________________
... a professor saying: "use this proprietary software to learn computer science" is the same as English professor handing you a copy of Shakespeare and saying: "use this book to learn Shakespeare without opening the book itself.
- Bradley Kuhn
Post 14 Jan 2004, 15:22
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.