mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-14 04:49:41 -07:00
245 lines
7.2 KiB
XML
245 lines
7.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
|
<Type Name="LNK_Section">
|
|
<DisplayString>{{ name={name} flags={flags} id={id} sort_index={sort_index} }}</DisplayString>
|
|
</Type>
|
|
|
|
<Type Name="LNK_LibMemberRef">
|
|
<Expand>
|
|
<Item Name="[Link Symbol]">lib->was_member_linked[member_idx]</Item>
|
|
<Item Name="[Lib]">lib</Item>
|
|
<Item Name="[Member Index]">member_idx</Item>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="U32Array">
|
|
<AlternativeType Name="U64Array"/>
|
|
<Expand>
|
|
<Item Name="[count]">count</Item>
|
|
<ArrayItems>
|
|
<Size>count</Size>
|
|
<ValuePointer>v</ValuePointer>
|
|
</ArrayItems>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="LNK_ExportParseList">
|
|
<AlternativeType Name="LNK_InputObjList"/>
|
|
<AlternativeType Name="LNK_InputList"/>
|
|
<AlternativeType Name="LNK_LibMemberRefList"/>
|
|
<DisplayString>{{count={count} first={first} last={last} }}</DisplayString>
|
|
<Expand>
|
|
<LinkedListItems>
|
|
<Size>count</Size>
|
|
<HeadPointer>first</HeadPointer>
|
|
<NextPointer>next</NextPointer>
|
|
<ValueNode>this</ValueNode>
|
|
</LinkedListItems>
|
|
</Expand>
|
|
</Type>
|
|
<Type Name="LNK_SymbolList">
|
|
<AlternativeType Name="LNK_LibList"/>
|
|
<AlternativeType Name="LNK_SectionList"/>
|
|
<AlternativeType Name="LNK_ChunkList"/>
|
|
<AlternativeType Name="LNK_ExportParseList"/>
|
|
<AlternativeType Name="LNK_InputImportList"/>
|
|
<AlternativeType Name="LNK_ObjList"/>
|
|
<AlternativeType Name="LNK_InputImportList"/>
|
|
<AlternativeType Name="CV_SymbolList"/>
|
|
<DisplayString>{{count={count} first={first} }}</DisplayString>
|
|
<Expand>
|
|
<LinkedListItems>
|
|
<Size>count</Size>
|
|
<HeadPointer>first</HeadPointer>
|
|
<NextPointer>next</NextPointer>
|
|
<ValueNode>data</ValueNode>
|
|
</LinkedListItems>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="LNK_SectionContribChunk">
|
|
<Expand>
|
|
<ArrayItems>
|
|
<Size>count</Size>
|
|
<ValuePointer>v</ValuePointer>
|
|
</ArrayItems>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="LNK_SectionContribChunkList">
|
|
<Expand>
|
|
<LinkedListItems>
|
|
<Size>chunk_count</Size>
|
|
<HeadPointer>first</HeadPointer>
|
|
<NextPointer>next</NextPointer>
|
|
<ValueNode>this</ValueNode>
|
|
</LinkedListItems>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="Rng1U64List">
|
|
<DisplayString>{{count={count} first={first} last={last} }}</DisplayString>
|
|
<Expand>
|
|
<LinkedListItems>
|
|
<Size>count</Size>
|
|
<HeadPointer>first</HeadPointer>
|
|
<NextPointer>next</NextPointer>
|
|
<ValueNode>v</ValueNode>
|
|
</LinkedListItems>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="RDIB_LineTable">
|
|
<DisplayString>{{count={count} first={first} last={last} }}</DisplayString>
|
|
<Expand>
|
|
<Item Name="[count]">count</Item>
|
|
<LinkedListItems>
|
|
<Size>count</Size>
|
|
<HeadPointer>first</HeadPointer>
|
|
<NextPointer>next_line_table</NextPointer>
|
|
<ValueNode>this</ValueNode>
|
|
</LinkedListItems>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="LNK_ObjSymbolRefNode">
|
|
<Expand>
|
|
<ExpandedItem>v</ExpandedItem>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="LNK_Symbol">
|
|
<Expand>
|
|
<Item Name="name">name</Item>
|
|
<CustomListItems MaxItemsPerView="5000">
|
|
<Variable Name="node" InitialValue="refs"/>
|
|
<Variable Name="idx" InitialValue="0"/>
|
|
<Loop>
|
|
<Break Condition="node == 0"/>
|
|
<Item>node</Item>
|
|
<Exec>node = node->next</Exec>
|
|
</Loop>
|
|
</CustomListItems>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="LNK_SymbolHashTrieChunkList">
|
|
<Expand>
|
|
<Item Name="[chunk count]">count</Item>
|
|
<CustomListItems MaxItemsPerView="5000">
|
|
<Variable Name="node" InitialValue="first"/>
|
|
<Variable Name="idx" InitialValue="0"/>
|
|
<Loop>
|
|
<Break Condition="node == 0"/>
|
|
<Exec>idx = 0</Exec>
|
|
<Loop>
|
|
<Break Condition="idx >= node->count"/>
|
|
<Item>node->v[idx]</Item>
|
|
<Exec>idx += 1</Exec>
|
|
</Loop>
|
|
<Exec>node = node->next</Exec>
|
|
</Loop>
|
|
</CustomListItems>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="LNK_SymbolHashTrieChunk">
|
|
<DisplayString>{count,cap,v}</DisplayString>
|
|
<Expand>
|
|
<Item Name="[count]">count</Item>
|
|
<Item Name="[cap]">cap</Item>
|
|
<ArrayItems>
|
|
<Size>count</Size>
|
|
<ValuePointer>v</ValuePointer>
|
|
</ArrayItems>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="RDIB_VariableChunkList">
|
|
<AlternativeType Name="RDIB_UnitChunkList"/>
|
|
<AlternativeType Name="RDIB_LineTableChunkList"/>
|
|
<AlternativeType Name="RDIB_SourceFileChunkList"/>
|
|
<AlternativeType Name="RDIB_ProcedureChunkList"/>
|
|
<AlternativeType Name="RDIB_ScopeChunkList"/>
|
|
<AlternativeType Name="RDIB_InlineSiteChunkList"/>
|
|
<AlternativeType Name="RDIB_UDTMemberChunkList"/>
|
|
<AlternativeType Name="RDIB_TypeChunkList"/>
|
|
<Expand>
|
|
<Item Name="[chunk count]">count</Item>
|
|
<CustomListItems MaxItemsPerView="5000">
|
|
<Variable Name="node" InitialValue="first"/>
|
|
<Variable Name="idx" InitialValue="0"/>
|
|
<Loop>
|
|
<Break Condition="node == 0"/>
|
|
<Exec>idx = 0</Exec>
|
|
<Loop>
|
|
<Break Condition="idx >= node->count"/>
|
|
<Item>node->v[idx]</Item>
|
|
<Exec>idx += 1</Exec>
|
|
</Loop>
|
|
<Exec>node = node->next</Exec>
|
|
</Loop>
|
|
</CustomListItems>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="RDIB_VariableChunk">
|
|
<AlternativeType Name="RDIB_UnitChunk"/>
|
|
<AlternativeType Name="RDIB_LineTableChunk"/>
|
|
<AlternativeType Name="RDIB_SourceFileChunk"/>
|
|
<AlternativeType Name="RDIB_ProcedureChunk"/>
|
|
<AlternativeType Name="RDIB_ScopeChunk"/>
|
|
<AlternativeType Name="RDIB_InlineSiteChunk"/>
|
|
<AlternativeType Name="RDIB_UDTMemberChunk"/>
|
|
<AlternativeType Name="RDIB_TypeChunk"/>
|
|
<DisplayString>{count,cap,v}</DisplayString>
|
|
<Expand>
|
|
<Item Name="[base]">base</Item>
|
|
<Item Name="[count]">count</Item>
|
|
<Item Name="[cap]">cap</Item>
|
|
<ArrayItems>
|
|
<Size>count</Size>
|
|
<ValuePointer>v</ValuePointer>
|
|
</ArrayItems>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="BucketList">
|
|
<AlternativeType Name="LNK_IncludeSymbolList"/>
|
|
<AlternativeType Name="LNK_AltNameList"/>
|
|
<AlternativeType Name="LNK_MergeDirectiveList"/>
|
|
<DisplayString Condition="first == 0">empty</DisplayString>
|
|
<Expand>
|
|
<LinkedListItems>
|
|
<HeadPointer>first</HeadPointer>
|
|
<NextPointer>next</NextPointer>
|
|
<ValueNode>v</ValueNode>
|
|
</LinkedListItems>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="HashTable">
|
|
<Expand>
|
|
<Item Name="[cap]">cap</Item>
|
|
<Item Name="[count]">count</Item>
|
|
<Item Name="[free buckets]">free_buckets</Item>
|
|
<CustomListItems MaxItemsPerView="512">
|
|
<Variable Name="bucket_idx" InitialValue="0"/>
|
|
<Variable Name="node" InitialValue="buckets[0].first"/>
|
|
<Loop>
|
|
<Exec>node = buckets[bucket_idx].first</Exec>
|
|
<Break Condition="bucket_idx >= cap"/>
|
|
<Loop>
|
|
<Break Condition="node == 0"/>
|
|
<Item>node</Item>
|
|
<Exec>node = node->next</Exec>
|
|
</Loop>
|
|
<Exec>bucket_idx += 1</Exec>
|
|
</Loop>
|
|
</CustomListItems>
|
|
</Expand>
|
|
</Type>
|
|
|
|
</AutoVisualizer>
|
|
|