Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[question] blue screen of death

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Stylo
Grandmaster Cheater Supreme
Reputation: 3

Joined: 16 May 2007
Posts: 1073
Location: Israel

PostPosted: Wed Mar 04, 2009 11:35 am    Post subject: [question] blue screen of death Reply with quote

always wondering . .
what causes that screen pops up?
and is there any code sample you can put here that cause it and explain exactly what happen inside the code that makes the computer crush?
that'd be really great :>
Back to top
View user's profile Send private message
S3NSA
:3
Reputation: 1

Joined: 06 Dec 2006
Posts: 1908
Location: England.

PostPosted: Wed Mar 04, 2009 11:37 am    Post subject: Reply with quote

Variety of causes.
http://en.wikipedia.org/wiki/Blue_Screen_of_Death

_________________
~ You can find me on irc.ccplz.net x
Back to top
View user's profile Send private message Visit poster's website
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Wed Mar 04, 2009 8:28 pm    Post subject: Reply with quote

Any tiny error not handled causes BSoD in kernel mode where errors are fatal. So I guess you can get a access violation in kernel mode and bam BSoD.
Back to top
View user's profile Send private message
Stylo
Grandmaster Cheater Supreme
Reputation: 3

Joined: 16 May 2007
Posts: 1073
Location: Israel

PostPosted: Thu Mar 05, 2009 11:56 am    Post subject: Reply with quote

okay thx i think i got it
is there any code on the internet that can help me how i'd make the computer crush?
i remember that some1 asked about it in the forum b4 and you gave a lot of examples, mostly in VB
but C++ would be better.. so can you link me to this topic maybe?
Back to top
View user's profile Send private message
Spawnfestis
GO Moderator
Reputation: 0

Joined: 02 Nov 2007
Posts: 1746
Location: Pakistan

PostPosted: Thu Mar 05, 2009 1:55 pm    Post subject: Reply with quote

1qaz wrote:
okay thx i think i got it
is there any code on the internet that can help me how i'd make the computer crush?
i remember that some1 asked about it in the forum b4 and you gave a lot of examples, mostly in VB
but C++ would be better.. so can you link me to this topic maybe?

I'm sure this is heading towards malicious intent of which we won't help you with. Mad

_________________

CLICK TO HAX MAPLESTORAY ^ !!!!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Thu Mar 05, 2009 2:06 pm    Post subject: Reply with quote

You could try (try as in programmatically) to write to a protected memory region which will cause an exception, and as a result will return a bsod.

But i don't understand why you want to do this, any special reasons ?
Back to top
View user's profile Send private message
Stylo
Grandmaster Cheater Supreme
Reputation: 3

Joined: 16 May 2007
Posts: 1073
Location: Israel

PostPosted: Thu Mar 05, 2009 2:21 pm    Post subject: Reply with quote

to be honest no. it's not a special reason, i just remembered that some1 was talking about that few months ago on the forum.
i wanted to view a code that can make that screen pops and understand it
i really want to see what's happening inside the code
i know it's hard to explain why i want it and for what reasons and i know it can be almost impossible to convince you that i mean no harm.
but anyway if that's illegal to talk about it then nvm :] . .
Back to top
View user's profile Send private message
iNoobHacker
Advanced Cheater
Reputation: 0

Joined: 05 Nov 2006
Posts: 99

PostPosted: Thu Mar 05, 2009 2:27 pm    Post subject: Reply with quote

Anything that will cause runtime error, throw and exception or such in user-mode will probably make you BSOD in kernel-mode.

For example, you could make a simple driver that does this:
Code:
*(int*)0 = ..;

or try reading it, or ofcourse executing it.

_________________
"Two things are infinite: the universe and human stupidity, but I'm still not sure about the first one."
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Thu Mar 05, 2009 2:40 pm    Post subject: Reply with quote

Just use KeBugCheck() in a driver.
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Thu Mar 05, 2009 3:20 pm    Post subject: Reply with quote

iNoobHacker wrote:
Anything that will cause runtime error, throw and exception or such in user-mode will probably make you BSOD in kernel-mode.

For example, you could make a simple driver that does this:
Code:
*(int*)0 = ..;

or try reading it, or ofcourse executing it.


I totaly agree with him, any tiny mistake in kernel mode will probably BSOD you unless you handle that exception.

1qaz wrote:
to be honest no. it's not a special reason, i just remembered that some1 was talking about that few months ago on the forum.
i wanted to view a code that can make that screen pops and understand it
i really want to see what's happening inside the code
i know it's hard to explain why i want it and for what reasons and i know it can be almost impossible to convince you that i mean no harm.
but anyway if that's illegal to talk about it then nvm :] . .


I believe you, but there's no specific code for a BSOD, it's the specific block of code written by the developer that causes it, whether he miscoded something or poorly-coded.
Back to top
View user's profile Send private message
SXGuy
I post too much
Reputation: 0

Joined: 19 Sep 2006
Posts: 3551

PostPosted: Thu Mar 05, 2009 6:00 pm    Post subject: Reply with quote

http://img13.imageshack.us/img13/1020/bsod.bmp

thats the kinda bsod i want to hav
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Thu Mar 05, 2009 7:10 pm    Post subject: Reply with quote

Code:
#include <ntddk.h>

void DriverUnload(PDRIVER_OBJECT pDriverObject)
{
    DbgPrint("Driver 2 unloading\n");
}

NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath)
{
    DriverObject->DriverUnload = DriverUnload;
    DbgPrint("Driver 2");
   __asm{
      mov al, 254
      out 64h, al
      }
    return STATUS_SUCCESS;
}



Maybe thats what you saw that will cause a hard reset of the computer. It wont BSOD, just reset

_________________
Back to top
View user's profile Send private message
Stylo
Grandmaster Cheater Supreme
Reputation: 3

Joined: 16 May 2007
Posts: 1073
Location: Israel

PostPosted: Sat Mar 07, 2009 2:08 am    Post subject: Reply with quote

i don't remember exactly what i saw there
i remember seeing a lot of codes creating bsod
but why the code you gave can create bsod?
what makes the computer crush when moving al 254 and then using out ... ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites