Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 03-03-2004, 16:54
lucky7456969
 
Posts: n/a
Softice (Access the D-Flag)

How do they do this? When you type gdt in softice, it can display all information for the complete Global Descriptor table? I only know there is *NO* instruction of any kinds that allow you to access the hidden part of the descriptor, any source code, explanations, comments and algorithm is greatly appreciated!!!
Thank you
Jack
Reply With Quote
  #2  
Old 03-03-2004, 19:54
crusader
 
Posts: n/a
Re: Softice (Access the D-Flag)

Of course you can access it... SGDT & LGDT...

If nothing can access it, then why is this for ?
Reply With Quote
  #3  
Old 03-04-2004, 09:16
lucky7456969
 
Posts: n/a
For one single descriptor is 64-bit in length, in which 32-bit base address and 32-bit limit can be accessed with SGDT. However there are 32 bits of information that you cannot access with SGDT, such as the D-Flag...I reckon Softice used some algorithm to access the hidden part, as the table is not in the range of physical address space!Thank you
Jack
Reply With Quote
  #4  
Old 03-04-2004, 10:53
lucky7456969
 
Posts: n/a
BTW, I'm doing this frenzy in Windows XP....
Reply With Quote
  #5  
Old 03-04-2004, 13:02
crusader
 
Posts: n/a
If you refer to Intel Manual Vol 3 somewhere, you will see that a PDE in GDT is 32 bits...

Base Address are the highest 10 bits (22 to 31)

Your Dirty Flag is Bit 6
Reply With Quote
  #6  
Old 03-04-2004, 15:49
lucky7456969
 
Posts: n/a
No No, I am talking section 3-10. Thanks for your reply, have a nice day!
Jack
Reply With Quote
  #7  
Old 03-04-2004, 23:08
cadinfo
 
Posts: n/a
I want to ask a question too

why my si31 cannot bpx messageboxa but si27 can.
and both si27 and si31 cannot bmsg hwnd wm...

I try many times and I am sure the hwnd of specified window is correct, but Ohh...

my system is win2k pro + sp4
and cpu is AMD Athlon 1.2G

does that cause problems?
Reply With Quote
  #8  
Old 03-07-2004, 04:00
Satyric0n
 
Posts: n/a
cadinfo, please see this thread for the solution to your problem: http://www.exetools.com/forum/showthread.php?s=&threadid=2548

In short, you must switch to the address context of the process you wish to set the breakpoint in using the ADDR command before setting the breakpoint. Also, read on the ATTACH command, it makes this problem less tedious.

Regards
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Controling access to HDD Hero General Discussion 2 08-09-2006 18:13
WinXP + Loaded SoftICE (NuMega DS 2.6 || SoftICE Suite 2.6) NOT SHOTDOWNING... sky General Discussion 0 08-23-2002 06:24


All times are GMT +8. The time now is 20:51.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )