MCPcopy Create free account

hub / github.com/Technolution/rustig / functions

Functions408 in github.com/Technolution/rustig

↓ 43 callersFunctionload_test_binary_as_bytes
Load a test subject executable as a byte vector. Must be one of the crates in `test_subjects`
lib/test_common/src/lib.rs:59
↓ 38 callersMethodbuild
(&self)
lib/panic_analysis/src/binary/mod.rs:26
↓ 34 callersFunctionparse_context
Parse the contents of a file into a callgraph::Context
lib/panic_analysis/src/test_utils.rs:18
↓ 29 callersFunctionget_test_subject_path
Prepare the path of the executable of test subject `subject`
lib/test_common/src/lib.rs:38
↓ 27 callersFunctioncreate_procedure
Helper method for creating procedures
lib/panic_analysis/src/marker/panic.rs:113
↓ 24 callersFunctionfind_panics
Main entry point of the `panic_analysis` crate. This function accepts some options [AnalysisOptions](struct.AnalysisOptions.html), and returns a [Pan
lib/panic_analysis/src/lib.rs:328
↓ 23 callersFunctioncreate_procedure
Helper method for creating procedures
lib/panic_analysis/src/panic_calls/mod.rs:266
↓ 14 callersMethodinto_backtrace_vec
(self)
lib/panic_analysis/src/lib.rs:52
↓ 10 callersFunctioncreate_procedure_with_name
Helper function to create a procedure with a given name and crate name
lib/panic_analysis/src/marker/analysis_target.rs:135
↓ 9 callersFunctionadd_node
Adds a node for a specific function in the target binary
lib/callgraph/src/callgraph/lea_dynamic_calls.rs:520
↓ 9 callersFunctionassert_trace_present
helper method that checks if a trace through function `function_name`, exists in the test subject "arithmetic" on type `subject_type`. It is asserted
lib/panic_analysis/tests/recognize-arithmetic.rs:21
↓ 9 callersFunctioncreate_procedure
Helper method for creating procedures
lib/panic_analysis/src/patterns/direct_panic.rs:92
↓ 8 callersMethodfind_panics
(&self, call_graph: &RustigCallGraph, context: &Context)
lib/panic_analysis/src/panic_calls/mod.rs:45
↓ 8 callersMethodtraverse_graph
(&self, index: NodeIndex<u32>, graph: &RustigGraph)
lib/panic_analysis/src/marker/panic.rs:55
↓ 6 callersMethodfind_patterns
(&self, _ctx: &Context, panic_calls: &PanicCallsCollection)
lib/panic_analysis/src/patterns/message_panic.rs:24
↓ 6 callersFunctionget_crate_from_comp_dir
Function that returns a `Crate` instance from the compilation dir. Usually, for an external crate, the direactory has the format '/path/to/checkout/<c
lib/callgraph/src/crate_utils.rs:31
↓ 5 callersFunctioncreate_proc_vec
Helper method for creating a vector of procedures
lib/panic_analysis/src/patterns/function_panic.rs:109
↓ 5 callersMethodfind_patterns
(&self, _ctx: &Context, panic_calls: &PanicCallsCollection)
lib/panic_analysis/src/patterns/function_panic.rs:28
↓ 5 callersFunctionload_test_binary
Load a test subject executable. Must be one of the crates in `test_subjects`
lib/test_common/src/lib.rs:52
↓ 5 callersFunctionparse
Local helper function to create a Context
lib/callgraph/src/callgraph/mod.rs:518
↓ 4 callersMethodbuild_call_graph
Function building the full call graph from the information in `ctx`.
lib/callgraph/src/callgraph/mod.rs:392
↓ 4 callersFunctioncreate_procedure_with_name
Helper function to create a procedure with a given name, crate name and address
lib/panic_analysis/src/marker/function_whitelist.rs:148
↓ 4 callersMethodfind_patterns
(&self, _ctx: &Context, panic_calls: &PanicCallsCollection)
lib/panic_analysis/src/patterns/direct_panic.rs:19
↓ 4 callersFunctionget_instruction_operand_registers
( capstone: &Capstone, instruction: &Insn, )
lib/panic_analysis/src/panic_calls/panic_message.rs:227
↓ 4 callersFunctionget_instruction_operand_values
(capstone: &Capstone, instruction: &Insn)
lib/panic_analysis/src/panic_calls/panic_message.rs:251
↓ 4 callersMethodmark_code
(&self, call_graph: &RustigCallGraph, _context: &Context)
lib/panic_analysis/src/marker/analysis_target.rs:23
↓ 4 callersFunctionparse
Local helper function to create a Context
lib/panic_analysis/src/marker/function_whitelist.rs:101
↓ 4 callersMethodparse
(&self, file_content: &'a [u8])
lib/callgraph/src/parse/mod.rs:60
↓ 3 callersFunctionadd_procs_with_name
( name: &str, ctx: &Context, mut graph: &mut StableGraph< Rc<RefCell<Proce
lib/callgraph/src/callgraph/lea_dynamic_calls.rs:589
↓ 3 callersFunctioncreate_options
(path: Option<String>, full: bool, filtered: bool)
lib/panic_analysis/src/graph_output/mod.rs:114
↓ 3 callersFunctioncreate_procedure_with_name
Helper function to create a procedure with a given name and crate name
lib/callgraph/src/lib.rs:446
↓ 3 callersMethodfind_invocations
Adds all dynamic invocations, either by procedure reference, or vtable reference, to the call graph.
lib/callgraph/src/callgraph/lea_dynamic_calls.rs:410
↓ 3 callersFunctionget_attr_addr_value
If the attribute has an Addr value, it will be returned. Else `None` will be given.
lib/callgraph/src/dwarf_utils.rs:98
↓ 3 callersFunctionget_attr_string_value
Function that returns a string value from an entries attribute. If no string was found, `None` will be returned
lib/callgraph/src/dwarf_utils.rs:59
↓ 3 callersFunctionget_attr_string_value_safe
Function that returns a string value from an entry's attribute. If no string was found, or an error occured an error message will be returned.
lib/callgraph/src/dwarf_utils.rs:32
↓ 3 callersFunctionget_panic_analysis_target_marker
(options: &AnalysisOptions)
lib/panic_analysis/src/marker/analysis_target.rs:89
↓ 3 callersFunctionparse
Local helper function to create a Context
lib/callgraph/src/callgraph/lea_dynamic_calls.rs:473
↓ 2 callersFunctionadd_raw_node
Add a node to the graph with parameter values
lib/callgraph/src/callgraph/lea_dynamic_calls.rs:547
↓ 2 callersFunctionbaz
()
test_subjects/multi_dep/src/main.rs:27
↓ 2 callersFunctionbuild_subjects
(endpath: &str, fixed_cargo_version: Option<&str>)
lib/test_common/build.rs:51
↓ 2 callersMethodcall_inner_lambda
(&self)
test_subjects_lib/src/lambda_structs.rs:26
↓ 2 callersFunctioncall_unsized
(call: &T)
test_subjects_lib/src/reference_calls.rs:29
↓ 2 callersMethodcall_with_self
(&self)
test_subjects_lib/src/trait_dynamic_calls.rs:23
↓ 2 callersFunctioncreate_callgraph
Create callgraph with a (possibly panicking) procedure with some specific name
lib/panic_analysis/src/filter/panic_filter.rs:101
↓ 2 callersFunctioncreate_procedure_with_name
Helper function to create a procedure with a given name, crate name and address
lib/panic_analysis/src/marker/entry_point.rs:115
↓ 2 callersFunctioncreate_procedure_with_name
Helper function to create a procedure with a given name and crate name
lib/panic_analysis/src/filter/whitelist_filter.rs:116
↓ 2 callersMethoddot
Return dot representation of the graph
lib/callgraph/src/lib.rs:310
↓ 2 callersFunctionfetch_function_names
Function returning the names iof the procedure references in `entry`.
lib/callgraph/src/callgraph/mod.rs:304
↓ 2 callersMethodfilter_nodes
(&self, call_graph: &mut RustigCallGraph, _context: &Context)
lib/panic_analysis/src/filter/panic_filter.rs:20
↓ 2 callersMethodfilter_nodes
(&self, call_graph: &mut RustigCallGraph, context: &Context)
lib/panic_analysis/src/filter/mod.rs:33
↓ 2 callersMethodfind_patterns
(&self, ctx: &Context, panic_calls: &PanicCallsCollection)
lib/panic_analysis/src/patterns/mod.rs:32
↓ 2 callersFunctionfn_names_match
(filter_name: &str, procedure_name: &str)
lib/panic_analysis/src/lib.rs:102
↓ 2 callersFunctionget_attr_str_with_origin_traversal
Function getting an attribute string value. If the attribute is not present, but an DW_AT_abstract_origin attribute is present, the references entry w
lib/callgraph/src/dwarf_utils.rs:182
↓ 2 callersFunctionget_attr_string_buf
Function that returns the buffer of a string value from an entries attribute. If no string valute was found, `None` will be returned
lib/callgraph/src/dwarf_utils.rs:47
↓ 2 callersFunctionget_boxed_output
(active: bool, stage: String, filename: String)
lib/panic_analysis/src/graph_output/mod.rs:68
↓ 2 callersFunctionget_bytes_at_address
(context: &Context<'a>, address: u64, size: u64)
lib/panic_analysis/src/panic_calls/panic_message.rs:322
↓ 2 callersFunctionget_call_instruction
( backtrace: &[BackTraceEntry], count: usize, fn_name: &str, )
lib/panic_analysis/src/panic_calls/panic_message.rs:282
↓ 2 callersFunctionget_graph_output_filtered
Graph output for filtered graph
lib/panic_analysis/src/graph_output/mod.rs:88
↓ 2 callersFunctionget_graph_output_full
Graph output for unfiltered, full graph
lib/panic_analysis/src/graph_output/mod.rs:97
↓ 2 callersFunctionget_mem_op_value
(mem_operand: &X86OpMem, base_reg_value: u64)
lib/panic_analysis/src/panic_calls/panic_message.rs:314
↓ 2 callersFunctionget_name_from_options
(options: &AnalysisOptions)
lib/panic_analysis/src/graph_output/mod.rs:75
↓ 2 callersFunctionget_node_filters
(options: &AnalysisOptions)
lib/panic_analysis/src/filter/mod.rs:55
↓ 2 callersFunctionget_panic_message
(context: &Context, str_ptr: u64, str_size: u64)
lib/panic_analysis/src/panic_calls/panic_message.rs:222
↓ 2 callersMethodget_pointed_proc
Function that returns an (optional) `Procedure` at `offset` in the '.data.rel.ro' section.
lib/callgraph/src/callgraph/lea_dynamic_calls.rs:376
↓ 2 callersFunctionget_whitelist_filter
(options: &AnalysisOptions)
lib/panic_analysis/src/filter/whitelist_filter.rs:81
↓ 2 callersMethodmark_code
(&self, call_graph: &RustigCallGraph, context: &Context)
lib/panic_analysis/src/marker/mod.rs:38
↓ 2 callersMethodmark_code
(&self, call_graph: &RustigCallGraph, _context: &Context)
lib/panic_analysis/src/marker/function_whitelist.rs:27
↓ 2 callersMethodmark_code
(&self, call_graph: &RustigCallGraph, _context: &Context)
lib/panic_analysis/src/marker/panic.rs:31
↓ 2 callersMethodmatches_version
Helper function that checks if `FunctionWhitelistCrateVersion` instance matches an (optional) version
lib/panic_analysis/src/lib.rs:73
↓ 2 callersFunctionparse_calls
Transform collection of instructions to their corresponding call types.
lib/callgraph/src/callgraph/static_calls.rs:110
↓ 2 callersFunctionparse_multiple_args
(cmd_matches: &ArgMatches, name: &str)
src/cmd_args.rs:29
↓ 2 callersMethodread
(&self, binary: &'a Binary)
lib/callgraph/src/binary_read/mod.rs:26
↓ 2 callersFunctionret_lambda
()
test_subjects_lib/src/lambda_structs.rs:33
↓ 2 callersMethodtrait_call_with_self
(&self)
test_subjects_lib/src/reference_calls.rs:18
↓ 2 callersMethodwrite_graph
(&self, call_graph: &RustigCallGraph)
lib/panic_analysis/src/graph_output/mod.rs:35
↓ 1 callersFunctionadd
(a: i32, b: i32)
test_subjects_lib/src/arithmetic.rs:10
↓ 1 callersFunctionbacktrace_has_procedure_with_name_with_count
Run panic_analysis on `crate_name` and check if there is `count` amount of `procedure_name` in it
lib/panic_analysis/tests/libcalls.rs:29
↓ 1 callersFunctionbar
()
test_subjects/multi_dep/src/main.rs:21
↓ 1 callersFunctionbar
()
test_subjects/direct/src/main.rs:19
↓ 1 callersFunctionbinary_search
(arr: &[T], elem: &T)
test_subjects/binary_search/src/main.rs:11
↓ 1 callersFunctionbuild
(subjects: &str, fixed_cargo_version: Option<&str>)
lib/test_common/build.rs:70
↓ 1 callersFunctionbuild_call_graph
( callgraph_options: &'a CallGraphOptions, file_content: &'a [u8], )
lib/callgraph/src/lib.rs:386
↓ 1 callersMethodbuild_full_backtrace
( &self, call_graph: &RustigCallGraph, edge_index: EdgeIndex<u32>, backtrace_t
lib/panic_analysis/src/panic_calls/mod.rs:182
↓ 1 callersFunctioncall_box_trait_panics
()
test_subjects/lib_calls/src/main.rs:11
↓ 1 callersFunctioncall_correct
()
test_subjects/indexing/src/main.rs:25
↓ 1 callersFunctioncall_expect
()
test_subjects/unwrap/src/main.rs:25
↓ 1 callersFunctioncall_impl_trait_panic
()
test_subjects_lib/src/impl_traits.rs:29
↓ 1 callersFunctioncall_impl_trait_panics
()
test_subjects/lib_calls/src/main.rs:16
↓ 1 callersFunctioncall_index
(vec: Vec<usize>)
test_subjects/indexing/src/main.rs:20
↓ 1 callersFunctioncall_lambda_struct_panics
()
test_subjects/lib_calls/src/main.rs:21
↓ 1 callersFunctioncall_option_expect
()
test_subjects/unwrap/src/main.rs:29
↓ 1 callersFunctioncall_panic_box
()
test_subjects_lib/src/box_traits.rs:29
↓ 1 callersFunctioncall_panic_direct
()
test_subjects_lib/src/inline.rs:15
↓ 1 callersFunctioncall_panic_indirect
()
test_subjects_lib/src/inline.rs:10
↓ 1 callersFunctioncall_panic_types
()
test_subjects/lib_calls/src/main.rs:27
↓ 1 callersFunctioncall_reference_calls
()
test_subjects/lib_calls/src/main.rs:35
↓ 1 callersFunctioncall_same_vtable
()
test_subjects/lib_calls/src/main.rs:73
↓ 1 callersFunctioncall_struct_calls
()
test_subjects/lib_calls/src/main.rs:42
↓ 1 callersFunctioncall_trait_dynamic_calls
()
test_subjects/lib_calls/src/main.rs:48
↓ 1 callersFunctioncall_trait_similar_names
()
test_subjects/lib_calls/src/main.rs:55
next →1–100 of 408, ranked by callers