Log in

View Full Version : softice - breakpoint on export beginning with @


uiop8000
June 11th, 2002, 09:05
Hi all,

Does anyone know how to set a breakpoint in softice on a symbol beginning with @??
I get an error when I try in softice driverstudio 2.6:

:bpx @doSomething
Symbol not defined (DOSOMETHING)

I have searched hi & lo for an answer and all I came up with was the rather old numega kb article

http://frontline.compuware.com/nashua/kb/doc/13.asp

Their recommendation is to not use the symbol name, but the address instead. But how can I use the address if my module isn't yet loaded? ie:

:exp @doSomething
00FE:338380 @doSomething

:bpx 00FE:338380
Invalid selector


Thanks in advance, kind regards ,
Alex

nofurs
June 11th, 2002, 14:02
[QUOTE]Originally posted by uiop8000
[B]Hi all,

>Does anyone know how to set a breakpoint in softice on a >symbol beginning with @??
>I get an error when I try in softice driverstudio 2.6:

>:bpx @doSomething

api==win32api
eg:
bpx getprocaddress
getprocaddress ==win32api


>I have searched hi & lo for an answer and all I came up with >was the rather old numega kb article
Nope you didn't search.....

http://frontline.compuware.com/nashua/kb/doc/13.asp

>Their recommendation is to not use the symbol name, but the >address instead. But how can I use the address if my module >isn't yet loaded? ie:

>:exp @doSomething
>00FE:338380 @doSomething

>:bpx 00FE:338380

bpx 338380

http://archive.yates2k.net/%2BSandman/SoftPage.html

EVERYTHING YOU WANNA KNOW IS IN THERE!!!!!!!!
NEXT TIME SEARCH MORE AND BEFORE YOU POST ANYTHING READ THE POSTING GUIDELINES

http://www.woodmann.net/fravia/rce-faq.htm

uiop8000
June 13th, 2002, 10:45
cluesurf, what are you talking about? i'm talking about using symbols with special characters in a breakpoint expression. it doesn't work and i can't find in info about it either. maybe there is an escape character, or maybe the @ can be replaced with another character, I don't know. As I said before you can always use the actual hex value of the symbol but only once the module is loaded. Its kinda nice being able to put on breakpoint's using the symbol name even when the module isn't loaded.

uiop8000
June 14th, 2002, 23:56
a ha!
after an upgrade to softice 4.2.5 (driverstudio 2.6)
- I was using softice 4.05 win9x, it appears this problem has
gone, as long as you prefix the export symbol with its module name

eg:
bpx modulename!@doSomething

thus allowing you to set virtual breakpoints and enjoy all the joys they offer!