I have this structure
TEB struct

Tib NT_TIB <?>
EnvironmentPointer dd ?
Cid CLIENT_ID <?>
ActiveRpcInfo dd ?
ThreadLocalStoragePointer dd ?
Peb dd ?
LastErrorValue dd ?
CountOfOwnedCriticalSections dd ?
CsrClientThread dd ?
Win32ThreadInfo dd ?
Win32ClientInfo dd [1Fh] dup (?)
WOW32Reserved dd ?
CurrentLocale dd ?
FpSoftwareStatusRegister dd ?
SystemReserved1 dd [36h] dup (?)
Spare1 dd ?
ExceptionCode dd ?
SpareBytes1 dd [28h] dup (?)
SystemReserved2 dd [0Ah] dup (?)
GdiRgn dd ?
GdiPen dd ?
GdiBrush dd ?
RealClientId CLIENT_ID <?>
GdiCachedProcessHandle dd ?
GdiClientPID dd ?
GdiClientTID dd ?
GdiThreadLocaleInfo dd ?
UserReserved dd [5h] dup (?)
GlDispatchTable dd [118h] dup (?)
GlReserved1 dd [1Ah] dup (?)
GlReserved2 dd ?
GlSectionInfo dd ?
GlSection dd ?
GlTable dd ?
GlCurrentRC dd ?
GlContext dd ?
LastStatusValue dd ?
StaticUnicodeString _STRING <?>
StaticUnicodeBuffer dd [105h] dup (?)
DeallocationStack dd ?
TlsSlots dd [40h] dup (?)
TlsLinks LIST_ENTRY <?>
Vdm dd ?
ReservedForNtRpc dd ?
DbgSsReserved dd [2h] dup (?)
HardErrorDisabled dd ?
Instrumentation dd [10h] dup (?)
WinSockData dd ?
GdiBatchCount dd ?
Spare2 dd ?
Spare3 dd ?
Spare4 dd ?
ReservedForOle dd ?
WaitingOnLoaderLock dd ?
StackCommit dd ?
StackCommitMax dd ?
StackReserved dd ?
TEB ends


When I write the "line teb TEB <?>" RadAsm stops responding. Is it a bug or what?

Best regards
Posted on 2003-09-24 15:13:11 by minor28
Works fine here Minor28, -> Win2KSP4.

Sounds like a buffer problem displaying the toolinfo for the structure.

Although I get the following when I try to assemble it (probably missing some things)

TestDialog.inc(114) : error A2008: syntax error : Cid
TestDialog.inc(134) : error A2008: syntax error : RealClientId
TestDialog.inc(149) : error A2008: syntax error : StaticUnicodeString
TestDialog.inc(189) : error A2181: initializer must be a string or single item
TestDialog.inc(189) : error A2138: invalid data initializer

for A2181 & A2138 you should be using teb TEB <> without the question mark
Posted on 2003-09-24 17:05:51 by donkey
Hi donkey

If I prevent the tooltip to turn up, it works. It must be a buffer problem displaying the tooltip.

Regards
Posted on 2003-09-25 01:29:17 by minor28