You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
symClassEndOfFunction=0xff// A special symbol that represents the end of function, for debugging purposes.
149
149
symClassNull=0// No assigned storage class.
150
150
symClassAutomatic=1// The automatic (stack) variable. The Value field specifies the stack frame offset.
151
151
symClassExternal=2// A value that Microsoft tools use for external symbols. The Value field indicates the size if the section number is IMAGE_SYM_UNDEFINED (0). If the section number is not zero, then the Value field specifies the offset within the section.
152
-
symClassStati=3// The offset of the symbol within the section. If the Value field is zero, then the symbol represents a section name.
152
+
symClassStatic=3// The offset of the symbol within the section. If the Value field is zero, then the symbol represents a section name.
153
153
symClassRegister=4// A register variable. The Value field specifies the register number.
154
154
symClassExternalDef=5// A symbol that is defined externally.
155
155
symClassLabel=6// A code label that is defined within the module. The Value field specifies the offset of the symbol within the section.
@@ -174,34 +174,34 @@ const (
174
174
symClassClrToken=107// A CLR token symbol. The name is an ASCII string that consists of the hexadecimal value of the token. For more information, see CLR Token Definition (Object Only).
175
175
)
176
176
177
-
varsymClassNames= scalar.UintMap{
178
-
symClassEndOfFunction: {Sym: "end_of_function", Description: "A special symbol that represents the end of function, for debugging purposes."},
179
-
symClassNull: {Sym: "null", Description: "No assigned storage class."},
180
-
symClassAutomatic: {Sym: "automatic", Description: "The automatic (stack) variable. The Value field specifies the stack frame offset."},
181
-
symClassExternal: {Sym: "external", Description: "A value that Microsoft tools use for external symbols. The Value field indicates the size if the section number is IMAGE_SYM_UNDEFINED (0). If the section number is not zero, then the Value field specifies the offset within the section."},
182
-
symClassStati: {Sym: "stati", Description: "The offset of the symbol within the section. If the Value field is zero, then the symbol represents a section name."},
183
-
symClassRegister: {Sym: "register", Description: "A register variable. The Value field specifies the register number."},
184
-
symClassExternalDef: {Sym: "external_def", Description: "A symbol that is defined externally."},
185
-
symClassLabel: {Sym: "label", Description: "A code label that is defined within the module. The Value field specifies the offset of the symbol within the section."},
186
-
symClassUndefinedLabel: {Sym: "undefined_label", Description: "A reference to a code label that is not defined."},
187
-
symClassMemberOfStruct: {Sym: "member_of_struct", Description: "The structure member. The Value field specifies the n th member."},
188
-
symClassArgument: {Sym: "argument", Description: "A formal argument (parameter) of a function. The Value field specifies the n th argument."},
189
-
symClassStructTag: {Sym: "struct_tag", Description: "The structure tag-name entry."},
190
-
symClassMemberOfUnion: {Sym: "member_of_union", Description: "A union member. The Value field specifies the n th member."},
191
-
symClassUnionTag: {Sym: "union_tag", Description: "The Union tag-name entry."},
192
-
symClassTypeDefinition: {Sym: "type_definition", Description: "A Typedef entry."},
193
-
symClassUndefinedStatic: {Sym: "undefined_static", Description: "A static data declaration."},
194
-
symClassEnumTag: {Sym: "enum_tag", Description: "An enumerated type tagname entry."},
195
-
symClassMemberOfEnum: {Sym: "member_of_enum", Description: "A member of an enumeration. The Value field specifies the n th member."},
196
-
symClassRegisterParam: {Sym: "register_param", Description: "A register parameter."},
197
-
symClassBitField: {Sym: "bit_field", Description: "A bit-field reference. The Value field specifies the n th bit in the bit field."},
198
-
symClassBlock: {Sym: "block", Description: "A .bb (beginning of block) or .eb (end of block) record. The Value field is the relocatable address of the code location."},
199
-
symClassFunction: {Sym: "function", Description: "A value that Microsoft tools use for symbol records that define the extent of a function: begin function (.bf ), end function ( .ef ), and lines in function ( .lf ). For .lf records, the Value field gives the number of source lines in the function. For .ef records, the Value field gives the size of the function code."},
symClassFile: {Sym: "file", Description: "A value that Microsoft tools, as well as traditional COFF format, use for the source-file symbol record. The symbol is followed by auxiliary records that name the file."},
202
-
symClassSection: {Sym: "section", Description: "A definition of a section (Microsoft tools use STATIC storage class instead)."},
203
-
symClassWeakExternal: {Sym: "weak_external", Description: "A weak external. For more information, see Auxiliary Format 3: Weak Externals."},
204
-
symClassClrToken: {Sym: "clr_token", Description: "A CLR token symbol. The name is an ASCII string that consists of the hexadecimal value of the token. For more information, see CLR Token Definition (Object Only)."},
177
+
varsymClassNames= scalar.UintMapSymStr{
178
+
symClassEndOfFunction: "end_of_function",
179
+
symClassNull: "null",
180
+
symClassAutomatic: "automatic",
181
+
symClassExternal: "external",
182
+
symClassStatic: "static",
183
+
symClassRegister: "register",
184
+
symClassExternalDef: "external_def",
185
+
symClassLabel: "label",
186
+
symClassUndefinedLabel: "undefined_label",
187
+
symClassMemberOfStruct: "member_of_struct",
188
+
symClassArgument: "argument",
189
+
symClassStructTag: "struct_tag",
190
+
symClassMemberOfUnion: "member_of_union",
191
+
symClassUnionTag: "union_tag",
192
+
symClassTypeDefinition: "type_definition",
193
+
symClassUndefinedStatic: "undefined_static",
194
+
symClassEnumTag: "enum_tag",
195
+
symClassMemberOfEnum: "member_of_enum",
196
+
symClassRegisterParam: "register_param",
197
+
symClassBitField: "bit_field",
198
+
symClassBlock: "block",
199
+
symClassFunction: "function",
200
+
symClassEndOfStruct: "end_of_struct",
201
+
symClassFile: "file",
202
+
symClassSection: "section",
203
+
symClassWeakExternal: "weak_external",
204
+
symClassClrToken: "clr_token",
205
205
}
206
206
207
207
const (
@@ -223,23 +223,23 @@ const (
223
223
symTypeDword=15
224
224
)
225
225
226
-
varsymBaseTypeNames= scalar.UintMap{
227
-
symTypeNull: {Sym: "sym_type_null", Description: "No type information or unknown base type. Microsoft tools use this setting"},
228
-
symTypeVoid: {Sym: "sym_type_void", Description: "No valid type; used with void pointers and functions"},
229
-
symTypeChar: {Sym: "sym_type_char", Description: "A character (signed byte)"},
230
-
symTypeShort: {Sym: "sym_type_short", Description: "A 2-byte signed integer"},
231
-
symTypeInt: {Sym: "sym_type_int", Description: "A natural integer type (normally 4 bytes in Windows)"},
232
-
symTypeLong: {Sym: "sym_type_long", Description: "A 4-byte signed integer"},
233
-
symTypeFloat: {Sym: "sym_type_float", Description: "A 4-byte floating-point number"},
0 commit comments