Sobelow v0.7.2 Sobelow.Utils
Link to this section Summary
Link to this section Functions
Link to this function
add_finding(line_no, filename, fun, fun_name, vars, severity, finding, type)
Link to this function
all_files(filepath, directory \\ "")
Link to this function
ast(filepath)
Link to this function
extract_opts(fun)
Link to this function
extract_opts(arg, idx)
Link to this function
extract_render_opts(ast, acc)
Link to this function
find_call(ast, acc, call)
Link to this function
finding_break()
Link to this function
finding_confidence(severity)
Link to this function
finding_file_metadata(filename, fun_name, line_no)
Link to this function
finding_header(type, severity)
Link to this function
finding_variable(var)
Link to this function
get_aliased_funs_of_type(ast, type, module)
Link to this function
get_aliased_funs_of_type(ast, acc, type, module)
Link to this function
get_app_name(filepath)
Link to this function
get_assigns_from(fun, module)
Link to this function
get_configs(key, filepath)
Link to this function
get_do_block(ast, acc)
Link to this function
get_erlang_aliased_funs_of_type(ast, type, module)
Link to this function
get_erlang_fun_vars_and_meta(fun, idx, type, module)
Link to this function
get_erlang_funs_from_pipe(fun, type, module)
Link to this function
get_erlang_funs_of_type(ast, type)
Link to this function
get_erlang_funs_of_type(ast, acc, type, module)
Link to this function
get_fun_declaration(arg1)
Link to this function
get_fun_vars_and_meta(fun, idx, type, module \\ nil)
Link to this function
get_funs_by_module(ast, module)
Link to this function
get_funs_of_type(ast, type)
Link to this function
get_funs_of_type(ast, acc, types)
Link to this function
get_fuzzy_configs(key, filepath)
Link to this function
get_meta_funs(filepath)
Link to this function
get_meta_funs(ast, acc)
Link to this function
get_meta_template_fun(ast)
Link to this function
get_meta_template_fun(ast, acc)
Link to this function
get_meta_template_funs(filepath)
Link to this function
get_pipe_funs(ast)
Link to this function
get_pipe_val(ast, pipe_fun)
Link to this function
get_pipe_val(ast, acc, pipefun)
Link to this function
get_piped_aliased_funs_of_type(ast, type, module)
Link to this function
get_piped_erlang_aliased_funs_of_type(ast, type, module)
Link to this function
get_piped_funs_of_type(ast, type)
Link to this function
get_pipelines(filepath)
Link to this function
get_plug_accepts(arg1)
Link to this function
get_plug_list(block)
Link to this function
get_sev(params, var)
Link to this function
get_sev(params, vars, severity)
Link to this function
get_strict_aliased_funs_of_type(ast, acc, type, module)
Link to this function
get_template_vars(raw_funs)
Link to this function
get_version(filepath)
Link to this function
get_version(ast, acc)
Link to this function
has_use_type?(arg1, type)
Link to this function
is_conn_params?(arg1)
Link to this function
is_content_type_html(arg)
Link to this function
is_controller?(uses)
Link to this function
is_fun_with_var?(fun, var)
Link to this function
is_plug?(arg1, type)
Link to this function
is_router?(uses)
Link to this function
is_vuln_pipeline?(arg, atom)
Link to this function
log_compact_finding(type, severity)
Link to this function
log_compact_finding(type, filename, line_no, severity)
Link to this function
log_json_finding(line_no, filename, fun_name, var, severity, type)
Link to this function
maybe_print_code(fun, finding)
Link to this function
maybe_print_file_path_code(fun, var)
Link to this function
normalize_finding(arg)
Link to this function
normalize_path(filename)
Link to this function
parse_accepts(list)
Link to this function
parse_render_opts(arg, params, idx)
Link to this function
print_code(fun, find)
Link to this function
print_custom_finding_metadata(fun, finding, severity, type, headers)
Link to this function
print_file_path_code(fun, var)
Link to this function
print_finding_metadata(line_no, filename, fun, fun_name, var, severity, type, finding)
Link to this function
print_highlighted(string, ast, find)
Link to this function
template_files(filepath, directory \\ "")