1pub mod anchor_accounts;
2pub mod ast_index;
3pub mod finding;
4pub mod instruction_analysis;
5pub mod registry;
6pub mod rules;
7pub mod scanner;
8pub mod syntax;
9
10pub use anchor_accounts::{
11 collect_anchor_accounts_index, AnchorAccountsField, AnchorAccountsIndex, AnchorAccountsStruct,
12 AnchorConstraint, AnchorConstraintKind, AnchorFieldConstraints, AnchorFieldType,
13 AnchorFieldTypeKind, AnchorTypeWrapper, AnchorTypeWrapperKind,
14};
15pub use ast_index::{collect_ast_index, AstAttr, AstField, AstIndex, AstSpan, AstStruct};
16pub use finding::{FileLocation, Finding, Severity, SourceLocation};
17pub use instruction_analysis::{
18 collect_instruction_index, CallEvidence, CallKind, GuardEvidence, GuardKind,
19 InstructionFunction, InstructionIndex, WriteEvidence,
20};
21pub use registry::{Rule, RuleCatalog, RuleId};
22pub use rules::{RuleContext, RuleMatch, RuleMetadata, RuleRegistry, RuleSeverity, SuppressionSet};
23pub use scanner::{ScanOptions, ScanResult, Scanner};
24pub use syntax::{ParseFailure, ParsedFile, SyntaxReport};