flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > Is Menuet really uncrashable?

Author
Thread Post new topic Reply to topic
Ivan Poddubny



Joined: 21 Sep 2003
Posts: 32
Location: Yaroslavl, Russia
Ivan Poddubny 23 Dec 2003, 13:07
Compile with FASM and run...

Code:
use32
org 0
db 'MENUET01'
dd 1,s,e,1000h,0fff0h,0
s:
mov eax,51
mov ebx,1
mov ecx,s
mov edx,0fff0h
int 40h
cli
e:
    

Exclamation
Post 23 Dec 2003, 13:07
View user's profile Send private message Visit poster's website Reply with quote
Ville



Joined: 17 Jun 2003
Posts: 312
Ville 23 Dec 2003, 14:14
Menuet isn't uncrashable. Many of the system calls lack limit-checks, which are needed for entry paramenters.
Altough many of the protection mechanisims work fine.
Post 23 Dec 2003, 14:14
View user's profile Send private message Reply with quote
Ville



Joined: 17 Jun 2003
Posts: 312
Ville 24 Dec 2003, 09:32
Menuet 0.76 pre-2.3 has a bugfix for the Ivans code.

Code:
use32
org 0
db 'MENUET01'
dd 1,s,e,1000h,0fff0h,0
s:
mov eax,51
mov ebx,1
mov ecx,s
mov edx,0fff0h
int 40h
cli
e:
    
Post 24 Dec 2003, 09:32
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 can 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.