gcc-python-plugin
latest
Requirements
Prebuilt-packages
Building the plugin from source
Basic usage of the plugin
Global data access
Overview of GCC’s internals
Example scripts
Working with C code
Locations
Generating custom errors and warnings
Working with functions and control flow graphs
gcc.Tree and its subclasses
Gimple statements
Optimization passes
Working with callbacks
Creating custom GCC attributes
Usage example: a static analysis tool for CPython extension code
Success Stories
Getting Involved
Documentation
Miscellanea
Release Notes
Appendices
gcc-python-plugin
Docs
»
Index
Edit on GitHub
Index
Symbols
|
_
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
L
|
M
|
N
|
O
|
P
|
R
|
S
|
T
|
U
|
V
|
W
Symbols
--dump-json
gcc-with-cpychecker command line option
--maxtrans <int>
gcc-with-cpychecker command line option
_
__init__() (gcc.Location method)
A
add_fixit_replace() (gcc.RichLocation method)
addr (gcc.Tree attribute)
alias_of (gcc.NamespaceDecl attribute)
args (gcc.GimpleCall attribute)
(gcc.GimplePhi attribute)
argument_types (gcc.FunctionType attribute)
(gcc.MethodType attribute)
arguments (gcc.FunctionDecl attribute)
array (gcc.ArrayRef attribute)
ArrayRangeRef (built-in class)
AttrAddrExpr (built-in class)
attributes (gcc.Type attribute)
B
basever (gcc.Version attribute)
basic_blocks (gcc.Cfg attribute)
BitFieldRef (built-in class)
block (gcc.Gimple attribute)
(gcc.TranslationUnitDecl attribute)
C
call_stmt (gcc.CallgraphEdge attribute)
callee (gcc.CallgraphEdge attribute)
callees (gcc.CallgraphNode attribute)
caller (gcc.CallgraphEdge attribute)
callers (gcc.CallgraphNode attribute)
callgraph_node (gcc.FunctionDecl attribute)
caret (gcc.Location attribute)
cfg (gcc.Function attribute)
column (gcc.Location attribute)
complex (gcc.Edge attribute)
configuration_arguments (gcc.Version attribute)
const
const_equivalent
constant (gcc.Constant attribute)
current_value (gcc.Parameter attribute)
D
datestamp (gcc.Version attribute)
debug() (gcc.Tree method)
decl (gcc.CallgraphNode attribute)
(gcc.Function attribute)
(gcc.Variable attribute)
declarations (gcc.NamespaceDecl attribute)
def_stmt (gcc.SsaName attribute)
default_value (gcc.Parameter attribute)
dereference (gcc.ArrayType attribute)
(gcc.PointerType attribute)
(gcc.VectorType attribute)
dest (gcc.Edge attribute)
devphase (gcc.Version attribute)
dump_enabled (gcc.Pass attribute)
E
end (gcc.Function attribute)
entry (gcc.Cfg attribute)
execute()
,
[1]
exit (gcc.Cfg attribute)
exprcode (gcc.GimpleAssign attribute)
,
[1]
(gcc.GimpleCond attribute)
exprtype (gcc.Gimple attribute)
F
false_label (gcc.GimpleCond attribute)
false_value (gcc.Edge attribute)
field (gcc.ComponentRef attribute)
fields (gcc.RecordType attribute)
file (gcc.Location attribute)
finish (gcc.Location attribute)
fn (gcc.GimpleCall attribute)
fndecl (gcc.GimpleCall attribute)
fullname (gcc.FunctionDecl attribute)
funcdef_no (gcc.Function attribute)
function (gcc.FunctionDecl attribute)
G
gate()
,
[1]
gcc-with-cpychecker command line option
--dump-json
--maxtrans <int>
gcc.argument_dict (built-in variable)
gcc.argument_tuple (built-in variable)
gcc.ArrayRef (built-in class)
gcc.ArrayType (built-in class)
gcc.BasicBlock (built-in class)
gcc.Binary (built-in class)
gcc.Binary.gcc.BitAndExpr (built-in class)
gcc.Binary.gcc.BitIorExpr (built-in class)
gcc.Binary.gcc.BitXorExpr (built-in class)
gcc.Binary.gcc.CeilDivExpr (built-in class)
gcc.Binary.gcc.CeilModExpr (built-in class)
gcc.Binary.gcc.CompareExpr (built-in class)
gcc.Binary.gcc.CompareGExpr (built-in class)
gcc.Binary.gcc.CompareLExpr (built-in class)
gcc.Binary.gcc.ComplexExpr (built-in class)
gcc.Binary.gcc.ExactDivExpr (built-in class)
gcc.Binary.gcc.FloorDivExpr (built-in class)
gcc.Binary.gcc.FloorModExpr (built-in class)
gcc.Binary.gcc.LrotateExpr (built-in class)
gcc.Binary.gcc.LshiftExpr (built-in class)
gcc.Binary.gcc.MaxExpr (built-in class)
gcc.Binary.gcc.MinExpr (built-in class)
gcc.Binary.gcc.MinusExpr (built-in class)
gcc.Binary.gcc.MinusNomodExpr (built-in class)
gcc.Binary.gcc.MultExpr (built-in class)
gcc.Binary.gcc.PlusExpr (built-in class)
gcc.Binary.gcc.PlusNomodExpr (built-in class)
gcc.Binary.gcc.PointerPlusExpr (built-in class)
gcc.Binary.gcc.RangeExpr (built-in class)
gcc.Binary.gcc.RdivExpr (built-in class)
gcc.Binary.gcc.RoundDivExpr (built-in class)
gcc.Binary.gcc.RoundModExpr (built-in class)
gcc.Binary.gcc.RrotateExpr (built-in class)
gcc.Binary.gcc.RshiftExpr (built-in class)
gcc.Binary.gcc.TruncDivExr (built-in class)
gcc.Binary.gcc.TruncModExpr (built-in class)
gcc.Binary.gcc.UrshiftExpr (built-in class)
gcc.Binary.gcc.VecExtractevenExpr (built-in class)
gcc.Binary.gcc.VecExtractoddExpr (built-in class)
gcc.Binary.gcc.VecInterleavehighExpr (built-in class)
gcc.Binary.gcc.VecInterleavelowExpr (built-in class)
gcc.Binary.gcc.VecLshiftExpr (built-in class)
gcc.Binary.gcc.VecPackFixTruncExpr (built-in class)
gcc.Binary.gcc.VecPackSatExpr (built-in class)
gcc.Binary.gcc.VecPackTruncExpr (built-in class)
gcc.Binary.gcc.VecRshiftExpr (built-in class)
gcc.Binary.gcc.WidenMultExpr (built-in class)
gcc.Binary.gcc.WidenMultHiExpr (built-in class)
gcc.Binary.gcc.WidenMultLoExpr (built-in class)
gcc.Binary.gcc.WidenSumExpr (built-in class)
gcc.Block (built-in class)
gcc.CallgraphEdge (built-in class)
gcc.CallgraphNode (built-in class)
gcc.CaseLabelExpr (built-in class)
gcc.Cfg (built-in class)
gcc.Comparison (built-in class)
gcc.Comparison.EqExpr (built-in class)
gcc.Comparison.GeExpr (built-in class)
gcc.Comparison.GtExpr (built-in class)
gcc.Comparison.LeExpr (built-in class)
gcc.Comparison.LtExpr (built-in class)
gcc.Comparison.LtgtExpr (built-in class)
gcc.Comparison.NeExpr (built-in class)
gcc.Comparison.OrderedExpr (built-in class)
gcc.Comparison.UneqExpr (built-in class)
gcc.Comparison.UngeExpr (built-in class)
gcc.Comparison.UngtExpr (built-in class)
gcc.Comparison.UnleExpr (built-in class)
gcc.Comparison.UnltExpr (built-in class)
gcc.Comparison.UnorderedExpr (built-in class)
gcc.ComponentRef (built-in class)
gcc.Constant (built-in class)
gcc.Constant.ComplexCst (built-in class)
gcc.Constant.FixedCst (built-in class)
gcc.Constant.IntegerCst (built-in class)
gcc.Constant.PtrmemCst (built-in class)
gcc.Constant.RealCst (built-in class)
gcc.Constant.StringCst (built-in class)
gcc.Constant.VectorCst (built-in class)
gcc.Declaration (built-in class)
gcc.define_macro() (built-in function)
gcc.dump() (built-in function)
gcc.Edge (built-in class)
gcc.EnumeralType (built-in class)
gcc.error() (built-in function)
gcc.Expression (built-in class)
gcc.Expression.gcc.AddrExpr (built-in class)
gcc.Expression.gcc.AlignofExpr (built-in class)
gcc.Expression.gcc.ArrowExpr (built-in class)
gcc.Expression.gcc.AssertExpr (built-in class)
gcc.Expression.gcc.AtEncodeExpr (built-in class)
gcc.Expression.gcc.BindExpr (built-in class)
gcc.Expression.gcc.ClassReferenceExpr (built-in class)
gcc.Expression.gcc.CleanupPointExpr (built-in class)
gcc.Expression.gcc.CMaybeConstExpr (built-in class)
gcc.Expression.gcc.CompoundExpr (built-in class)
gcc.Expression.gcc.CompoundLiteralExpr (built-in class)
gcc.Expression.gcc.CondExpr (built-in class)
gcc.Expression.gcc.CtorInitializer (built-in class)
gcc.Expression.gcc.DlExpr (built-in class)
gcc.Expression.gcc.DotProdExpr (built-in class)
gcc.Expression.gcc.DotstarExpr (built-in class)
gcc.Expression.gcc.EmptyClassExpr (built-in class)
gcc.Expression.gcc.ExcessPrecisionExpr (built-in class)
gcc.Expression.gcc.ExprPackExpansion (built-in class)
gcc.Expression.gcc.ExprStmt (built-in class)
gcc.Expression.gcc.FdescExpr (built-in class)
gcc.Expression.gcc.FmaExpr (built-in class)
gcc.Expression.gcc.InitExpr (built-in class)
gcc.Expression.gcc.MessageSendExpr (built-in class)
gcc.Expression.gcc.ModifyExpr (built-in class)
gcc.Expression.gcc.ModopExpr (built-in class)
gcc.Expression.gcc.MustNotThrowExpr (built-in class)
gcc.Expression.gcc.NonDependentExpr (built-in class)
gcc.Expression.gcc.NontypeArgumentPack (built-in class)
gcc.Expression.gcc.NullExpr (built-in class)
gcc.Expression.gcc.NwExpr (built-in class)
gcc.Expression.gcc.ObjTypeRef (built-in class)
gcc.Expression.gcc.OffsetofExpr (built-in class)
gcc.Expression.gcc.PolynomialChrec (built-in class)
gcc.Expression.gcc.PostdecrementExpr (built-in class)
gcc.Expression.gcc.PostincrementExpr (built-in class)
gcc.Expression.gcc.PredecrementExpr (built-in class)
gcc.Expression.gcc.PredictExpr (built-in class)
gcc.Expression.gcc.PreincrementExpr (built-in class)
gcc.Expression.gcc.PropertyRef (built-in class)
gcc.Expression.gcc.PseudoDtorExpr (built-in class)
gcc.Expression.gcc.RealignLoad (built-in class)
gcc.Expression.gcc.SaveExpr (built-in class)
gcc.Expression.gcc.ScevKnown (built-in class)
gcc.Expression.gcc.ScevNotKnown (built-in class)
gcc.Expression.gcc.SizeofExpr (built-in class)
gcc.Expression.gcc.StmtExpr (built-in class)
gcc.Expression.gcc.TagDefn (built-in class)
gcc.Expression.gcc.TargetExpr (built-in class)
gcc.Expression.gcc.TemplateIdExpr (built-in class)
gcc.Expression.gcc.ThrowExpr (built-in class)
gcc.Expression.gcc.TruthAndExpr (built-in class)
gcc.Expression.gcc.TruthAndifExpr (built-in class)
gcc.Expression.gcc.TruthNotExpr (built-in class)
gcc.Expression.gcc.TruthOrExpr (built-in class)
gcc.Expression.gcc.TruthOrifExpr (built-in class)
gcc.Expression.gcc.TruthXorExpr (built-in class)
gcc.Expression.gcc.TypeExpr (built-in class)
gcc.Expression.gcc.TypeidExpr (built-in class)
gcc.Expression.gcc.VaArgExpr (built-in class)
gcc.Expression.gcc.VecCondExpr (built-in class)
gcc.Expression.gcc.VecDlExpr (built-in class)
gcc.Expression.gcc.VecInitExpr (built-in class)
gcc.Expression.gcc.VecNwExpr (built-in class)
gcc.Expression.gcc.WidenMultMinusExpr (built-in class)
gcc.Expression.gcc.WidenMultPlusExpr (built-in class)
gcc.Expression.gcc.WithCleanupExpr (built-in class)
gcc.Expression.gcc.WithSizeExpr (built-in class)
gcc.FieldDecl (built-in class)
gcc.FloatType (built-in class)
gcc.Function (built-in class)
gcc.FunctionDecl (built-in class)
gcc.FunctionType (built-in class)
gcc.FunctionType.gccutils.get_nonnull_arguments() (built-in function)
gcc.GCC_VERSION (built-in variable)
gcc.get_callgraph_nodes() (built-in function)
gcc.get_dump_base_name() (built-in function)
gcc.get_dump_file_name() (built-in function)
gcc.get_gcc_version() (built-in function)
gcc.get_global_namespace() (built-in function)
gcc.get_option_dict() (built-in function)
gcc.get_option_list() (built-in function)
gcc.get_parameters() (built-in function)
gcc.get_plugin_gcc_version() (built-in function)
gcc.get_translation_units() (built-in function)
gcc.get_variables() (built-in function)
gcc.Gimple (built-in class)
gcc.GimpleAsm (built-in class)
gcc.GimpleAssign (built-in class)
,
[1]
gcc.GimpleCall (built-in class)
gcc.GimpleCond (built-in class)
gcc.GimpleLabel (built-in class)
gcc.GimpleNop (built-in class)
gcc.GimplePass (built-in class)
gcc.GimplePhi (built-in class)
gcc.GimpleReturn (built-in class)
gcc.GimpleSwitch (built-in class)
gcc.inform() (built-in function)
gcc.IntegerType (built-in class)
gcc.IpaPass (built-in class)
gcc.is_lto() (built-in function)
gcc.Location (built-in class)
gcc.maybe_get_identifier() (built-in function)
gcc.MemRef (built-in class)
gcc.MethodType (built-in class)
gcc.NamespaceDecl (built-in class)
gcc.Option (built-in class)
gcc.Parameter (built-in class)
gcc.ParmDecl (built-in class)
gcc.Pass (built-in class)
gcc.permerror() (built-in function)
gcc.PLUGIN_ATTRIBUTES (built-in variable)
gcc.PLUGIN_FINISH (built-in variable)
gcc.PLUGIN_FINISH_DECL (built-in variable)
gcc.PLUGIN_FINISH_TYPE (built-in variable)
gcc.PLUGIN_FINISH_UNIT (built-in variable)
gcc.PLUGIN_PASS_EXECUTION (built-in variable)
gcc.PLUGIN_PRE_GENERICIZE (built-in variable)
gcc.PointerType (built-in class)
gcc.RecordType (built-in class)
gcc.Reference (built-in class)
gcc.register_attribute() (built-in function)
gcc.register_callback() (built-in function)
gcc.ResultDecl (built-in class)
gcc.RichLocation (built-in class)
gcc.Rtl (built-in class)
gcc.RtlPass (built-in class)
gcc.set_location() (built-in function)
gcc.SimpleIpaPass (built-in class)
gcc.SsaName (built-in class)
gcc.Statement (built-in class)
gcc.TranslationUnitDecl (built-in class)
gcc.Tree (built-in class)
gcc.Type (built-in class)
gcc.Unary (built-in class)
gcc.Unary.gcc.AbsExpr (built-in class)
gcc.Unary.gcc.AddrSpaceConvertExpr (built-in class)
gcc.Unary.gcc.BitNotExpr (built-in class)
gcc.Unary.gcc.CastExpr (built-in class)
gcc.Unary.gcc.ConjExpr (built-in class)
gcc.Unary.gcc.ConstCastExpr (built-in class)
gcc.Unary.gcc.ConvertExpr (built-in class)
gcc.Unary.gcc.DynamicCastExpr (built-in class)
gcc.Unary.gcc.FixedConvertExpr (built-in class)
gcc.Unary.gcc.FixTruncExpr (built-in class)
gcc.Unary.gcc.FloatExpr (built-in class)
gcc.Unary.gcc.NegateExpr (built-in class)
gcc.Unary.gcc.NoexceptExpr (built-in class)
gcc.Unary.gcc.NonLvalueExpr (built-in class)
gcc.Unary.gcc.NopExpr (built-in class)
gcc.Unary.gcc.ParenExpr (built-in class)
gcc.Unary.gcc.ReducMaxExpr (built-in class)
gcc.Unary.gcc.ReducMinExpr (built-in class)
gcc.Unary.gcc.ReducPlusExpr (built-in class)
gcc.Unary.gcc.ReinterpretCastExpr (built-in class)
gcc.Unary.gcc.StaticCastExpr (built-in class)
gcc.Unary.gcc.UnaryPlusExpr (built-in class)
gcc.VarDecl (built-in class)
gcc.Variable (built-in class)
gcc.VectorType (built-in class)
gcc.Version (built-in class)
gcc.warning() (built-in function)
gccutils.callgraph_to_dot() (built-in function)
gccutils.get_field_by_name() (built-in function)
gccutils.get_global_typedef() (built-in function)
gccutils.get_global_vardecl_by_name() (built-in function)
gccutils.get_src_for_loc() (built-in function)
gccutils.get_variables_as_dict() (built-in function)
gccutils.pformat() (built-in function)
gccutils.pprint() (built-in function)
get_block_for_label() (gcc.Cfg method)
get_by_name() (gcc.Pass class method)
get_roots() (gcc.Pass class method)
get_symbol() (gcc.Binary class method)
(gcc.Comparison class method)
(gcc.Expression class method)
(gcc.Reference class method)
(gcc.Unary class method)
gimple (gcc.BasicBlock attribute)
H
help (gcc.Option attribute)
(gcc.Parameter attribute)
high (gcc.CaseLabelExpr attribute)
I
ImagpartExpr (built-in class)
in_system_header (gcc.Location attribute)
index (gcc.ArrayRef attribute)
(gcc.BasicBlock attribute)
indexvar (gcc.GimpleSwitch attribute)
IndirectRef (built-in class)
initial (gcc.VarDecl attribute)
is_artificial (gcc.Declaration attribute)
is_builtin (gcc.Declaration attribute)
is_driver (gcc.Option attribute)
is_enabled (gcc.Option attribute)
is_optimization (gcc.Option attribute)
is_private (gcc.FunctionDecl attribute)
is_protected (gcc.FunctionDecl attribute)
is_public (gcc.FunctionDecl attribute)
is_static (gcc.FunctionDecl attribute)
is_target (gcc.Option attribute)
is_variadic (gcc.FunctionType attribute)
is_warning (gcc.Option attribute)
L
labels (gcc.GimpleSwitch attribute)
language (gcc.TranslationUnitDecl attribute)
lhs (gcc.GimpleAssign attribute)
,
[1]
(gcc.GimpleCall attribute)
(gcc.GimpleCond attribute)
(gcc.GimplePhi attribute)
line (gcc.Location attribute)
loc (gcc.Gimple attribute)
(gcc.Rtl attribute)
local_decls (gcc.Function attribute)
location (gcc.Binary attribute)
(gcc.Comparison attribute)
(gcc.Declaration attribute)
(gcc.Expression attribute)
(gcc.Reference attribute)
(gcc.Unary attribute)
lookup() (gcc.NamespaceDecl method)
low (gcc.CaseLabelExpr attribute)
M
max_value (gcc.IntegerType attribute)
(gcc.Parameter attribute)
MemberRef (built-in class)
methods (gcc.RecordType attribute)
min_value (gcc.IntegerType attribute)
(gcc.Parameter attribute)
N
name (gcc.Declaration attribute)
(gcc.FieldDecl attribute)
(gcc.Pass attribute)
(gcc.Type attribute)
namespaces (gcc.NamespaceDecl attribute)
next (gcc.Pass attribute)
noreturn (gcc.GimpleCall attribute)
O
offset_column() (gcc.Location method)
OffsetRef (built-in class)
operand (gcc.MemRef attribute)
(gcc.Unary attribute)
operands (gcc.Rtl attribute)
option (gcc.Parameter attribute)
P
phi_nodes (gcc.BasicBlock attribute)
pointer (gcc.Type attribute)
precision (gcc.FloatType attribute)
(gcc.IntegerType attribute)
preds (gcc.BasicBlock attribute)
properties_destroyed (gcc.Pass attribute)
properties_provided (gcc.Pass attribute)
properties_required (gcc.Pass attribute)
R
range (gcc.ArrayType attribute)
RealpartExpr (built-in class)
register_after() (gcc.Pass method)
register_before() (gcc.Pass method)
replace() (gcc.Pass method)
restrict
restrict_equivalent
result (gcc.FunctionDecl attribute)
retval (gcc.GimpleReturn attribute)
revision (gcc.Version attribute)
rhs (gcc.GimpleAssign attribute)
,
[1]
(gcc.GimpleCall attribute)
(gcc.GimpleCond attribute)
rtl (gcc.BasicBlock attribute)
S
ScopeRef (built-in class)
signed_equivalent (gcc.IntegerType attribute)
sizeof (gcc.Type attribute)
src (gcc.Edge attribute)
start (gcc.Function attribute)
(gcc.Location attribute)
static (gcc.VarDecl attribute)
static_pass_number (gcc.Pass attribute)
str_no_uid (gcc.Gimple attribute)
(gcc.Tree attribute)
string (gcc.GimpleAsm attribute)
sub (gcc.Pass attribute)
succs (gcc.BasicBlock attribute)
T
target (gcc.CaseLabelExpr attribute)
(gcc.ComponentRef attribute)
TargetMemRef (built-in class)
text (gcc.Option attribute)
true_label (gcc.GimpleCond attribute)
true_value (gcc.Edge attribute)
type (gcc.Tree attribute)
U
unalias() (gcc.NamespaceDecl method)
UnconstrainedArrayRef (built-in class)
unqualified_equivalent
unsigned (gcc.IntegerType attribute)
unsigned_equivalent (gcc.IntegerType attribute)
V
values (gcc.EnumeralType attribute)
var (gcc.SsaName attribute)
vars (gcc.Block attribute)
version (gcc.SsaName attribute)
ViewConvertExpr (built-in class)
volatile
volatile_equivalent
W
walk_tree() (gcc.Gimple method)
Read the Docs
v: latest
Versions
latest
stable
master
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.