BlocBlock
Chaque bloc de code est identifié par un SymTagBlock
symbole.Each code block is identified by a SymTagBlock
symbol. Symboles de bloc sont utilisés pour identifier les étendues imbriquées dans les fonctions.Block symbols are used to identify nested scopes within functions.
PropriétésProperties
Le tableau suivant présente les propriétés qui sont valides pour ce type de symbole.The following table shows the properties that are valid for this symbol type.
PropriétéProperty | Type de donnéesData type | DescriptionDescription |
---|---|---|
IDiaSymbol::get_addressOffsetIDiaSymbol::get_addressOffset | DWORD |
Partie du décalage de l’emplacement ; Pour plus d’informations, consultez la LocationType, énumération.Offset part of location; for details, see the LocationType Enumeration. |
IDiaSymbol::get_addressSectionIDiaSymbol::get_addressSection | DWORD |
Partie de section d’emplacement ; Pour plus d’informations, consultez la LocationType, énumération.Section part of location; for details, see the LocationType Enumeration. |
IDiaSymbol::get_lengthIDiaSymbol::get_length | ULONGLONG |
Nombre d’octets de code dans le bloc.Number of bytes of code in the block. |
IDiaSymbol::get_lexicalParentIDiaSymbol::get_lexicalParent | IDiaSymbol* |
Symbole de la fonction ou un bloc englobant.Symbol of the enclosing block or function. |
IDiaSymbol::get_lexicalParentIdIDiaSymbol::get_lexicalParentId | DWORD |
Retourne l’ID du symbole lexicale parente.Returns the ID of the lexical parent symbol. |
IDiaSymbol::get_locationTypeIDiaSymbol::get_locationType | DWORD |
Blocs ont des emplacements statiques ; Pour plus d’informations, consultez emplacements de symboles.Blocks have static locations; for details, see Symbol Locations. |
IDiaSymbol::get_nameIDiaSymbol::get_name | BSTR |
Retourne le nom du bloc (qui est généralement une chaîne vide).Returns the name of the block (which is usually an empty string). |
IDiaSymbol::get_relativeVirtualAddressIDiaSymbol::get_relativeVirtualAddress | DWORD |
Retourne l’adresse virtuelle de ce bloc par rapport à son parent lexicale.Returns the virtual address of this block relative to its lexical parent. |
IDiaSymbol::get_symIndexIdIDiaSymbol::get_symIndexId | DWORD |
ID d’index du symbole.Index ID of symbol. |
IDiaSymbol::get_symTagIDiaSymbol::get_symTag | DWORD |
Retourne SymTagBlock (parmi les symtagenum, énumération valeurs).Returns SymTagBlock (one of the SymTagEnum Enumeration values). |
IDiaSymbol::get_virtualAddressIDiaSymbol::get_virtualAddress | ULONGLONG |
Retourne l’adresse virtuelle de ce bloc dans l’exécutable.Returns the virtual address of this block within the executable. |
Voir aussiSee Also
Hiérarchie lexicale des Types de symboles Lexical Hierarchy of Symbol Types
LocationType (énumération) LocationType Enumeration
Emplacements des symbolesSymbol Locations