A.1 SoftICE Commands

 <  Day Day Up  >  

Table A-1. Basic SoftICE commands

Command

Meaning

?

Evaluate expression

A

Assemble code

ADDR

Display/change address contents

BC

Clear breakpoint

BD

Disable breakpoint

BE

Enable breakpoint

BL

List current breakpoints

BPE

Edit breakpoint

BPT

Use breakpoint as a template

BPM, BPMB, BPMW, BPMD

Breakpoint on memory access

BPR

Breakpoint on memory range

BPIO

Breakpoint on I/O port access

BPINT

Breakpoint on interrupt

BPX

Breakpoint on execution

BPMSG

Breakpoint on Windows message

C

Compare two data blocks

CLASS

Display window class information

D, DB, DW, DD, DS, DL, DT

Display memory

DATA

Change data window

E, EB, EW, ED, EL, ET

Edit memory

EXIT

Exit

F

Fill memory with data

FORMAT

Change format of data window

G

Go to address

H

Help on specific function

HBOOT

System boot (total reset)

HERE

Go to current cursor line

HWND

Display Windows handle information

M

Move data

MOD

Display Windows module list

P

Step-skipping calls, interrupts, etc.

R

Display/change register contents

S

Search for data

T

Single-step one instruction

TASK

Display Windows task list

THREAD

Display thread information

U

Un-Assemblers instructions

VER

SoftICE Version

WATCH

Add watch

WHAT

Identify the type of expression

WMSG

Display Windows messages

X

Return to host debugger or program

Table A-2. Advanced SoftICE commands

Command

Meaning

CPU

Display CPU register information

GDT

Display global descriptor table

GENINT

Generate an interrupt

HEAP

Display Windows global heap

LHEAP

Display Windows local heap

IDT

Display interrupt descriptor table

I, IB, IW, ID

Input data from I/O port

LDT

Display local descriptor table

MAP32

Display 32-bit section map

MAPV86

Display v86 memory map

O, OB, OW, OD

Output data from I/O port

PAGE

Display page table information

PCI

Display PCI device information

PEEK

Read from physical address

PHYS

Display all virtual addresses for physical address

POKE

Write to physical address

PROC

Display process information

QUERY

Display process virtual address space map

TSS

Display task state segment

STACK

Display call stack

VCALL

Display VxD calls

VM

Display virtual machine information

VXD

Display Windows VxD map

XFRAME

Display active exception frames

Table A-3. Mode control

Command

Meaning

FAULTS

Enable/disable SoftICE fault trapping

I1HERE

Direct INT1 to SoftICE

I3HERE

Direct INT3 to SoftICE

SET

Change an internal variable

ZAP

Zap embedded INT1 or INT3

Table A-4. Customization

Command

Meaning

ALTKEY

Set key sequence to invoke window

ANSWER

Auto-answer and redirect console to modem

CODE

Display instruction bytes in code window

COLOR

Display/set screen colors

DEX

Display/assign window data expression

DIAL

Redirect console to modem

FKEY

Display/set function keys

LINES

Set/display number of lines on screen

MACRO

Define a named macro command

PAUSE

Control display scroll mode

PRN

Set printer output port

SERIAL

Redirect console

TABS

Set/display tab setting

Table A-5. Window commands

Command

Meaning

.

Locate current instruction

EC

Enable/disable code window

WC

Toggle code window

WD

Toggle data window

WF

Toggle floating point stack window

WL

Toggle locals window

WR

Toggle register window

WW

Toggle watch window

Table A-6. Window control

Command

Meaning

ALTSCR

Change to alternate display

CLS

Clear window

FLASH

Restore screen during P and T

RS

Restore program screen

Table A-7. Symbol/source commands

Command

Meaning

EXP

Display export symbols

FILE

Change/display current source file

LOCALS

Display locals currently in scope

SRC

Toggle between source, mixed, and code

SS

Search source module for string

SYMLOC

Relocate symbol base

TAB

Select/remove symbol table

TYPES

List all types or display type definition

Table A-8. Backtrace commands

Command

Meaning

SHOW

Display from backtrace buffer

TRACE

Enter backtrace simulation mode

XT

Step in trace simulation mode

XP

Program step in trace simulation mode

XG

Go to address in trace simulation mode

XRSET

Reset backtrace history buffer

Table A-9. Special operators

Command

Meaning

.

Preceding a decimal number specifies a line number

$

Preceding an address specifies SEGMENT addressing

#

Preceding an address specifies SELECTOR

@

Preceding an address

 <  Day Day Up  >  


Security Warrior
Security Warrior
ISBN: 0596005458
EAN: 2147483647
Year: 2004
Pages: 211

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net