Even if you did manage to write filesystem support for all the required filesystems and were able to #include the code from the shared libraries the operating system would still stop you the instant you tried to read or write directly to the disk. I'd love to hear your explanation on how to do that.īut, the whole thing is pointless. ![]() #include the appropriate pre-existing header files, and #include any code that you would normally call from a shared library. Let's just say that if somebody had the skill to do it, they'd be too busy making buttloads of money to waste their time. I would be very impressed if a single person could implement any one of those filesystems in a reasonable amount of time, and all 4 would be nothing short of impossible. To be any use at all as a cross platform virus, the program would need access to NTFS, ext2, FAT32, and ReiserFS. For the moment, lets pretend it's possible to directly access the disk and filesystem from a user program, without system calls. just #include the appropriate pre-existing header files, and #include any code that you would normally call from a shared library. ![]() So, do the same, and add enough functionality to read and write to the various filesystems out there, and you're home - you don't even need to do it in assembler.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |