C and C++ Binaries

Data Type: struct cs_ast_binding

A binding from one pattern variable to a cs_ast_field.

A list of these is returned by the pattern-matching function cs_ast_match().

Defined in file cs_ast.h.



Public Attributes

cs_const_string name Always set to the name of a variable in the pattern. Note that name is freed when the pattern matched against is deallocated, so do not dereference it after freeing the pattern.
cs_ast_field f The cs_ast_field to which the variable with the specified name is bound. f.type is set to csft_null if the variable is unbound.