MCPcopy Create free account

hub / github.com/awsm-research/LineVul / functions

Functions750 in github.com/awsm-research/LineVul

↓ 45 callersFunctionreport_error
cppcheck/data/c_files/172.cpp:98
↓ 43 callersFunctionsafecat
cppcheck/data/c_files/185.cpp:1
↓ 11 callersFunctionif
cppcheck/data/c_files/129.cpp:102
↓ 9 callersFunctionjspeAssignmentExpression
cppcheck/data/c_files/285.cpp:560
↓ 6 callersMethodStart
cppcheck/data/c_files/602.cpp:1
↓ 6 callersFunctionfbOver
cppcheck/data/c_files/488.cpp:1
↓ 6 callersFunctionget_all_lines_score
(word_att_scores: list, verified_flaw_lines: list)
linevul/linevul_main.py:1045
↓ 6 callersFunctionget_word_att_scores
(all_tokens: list, att_scores: list)
linevul/linevul_main.py:1090
↓ 6 callersFunctionline_level_evaluation
(all_lines_score: list, flaw_line_indices: list, top_k_loc: list, top_k_constant: list, true_positive_only: bo
linevul/linevul_main.py:952
↓ 5 callersMethodParse
cppcheck/data/c_files/56.cpp:1
↓ 5 callersFunctioncompile_tree
cppcheck/data/c_files/191.cpp:1
↓ 5 callersFunctionfbOver24
cppcheck/data/c_files/488.cpp:27
↓ 5 callersFunctionjspeUnaryExpression
cppcheck/data/c_files/285.cpp:310
↓ 4 callersMethodInitialize
cppcheck/data/c_files/95.cpp:1
↓ 4 callersFunctionadd_count
Exit on first match. */ Add two numbers that count input bytes or lines, and report an error if the addition overflows. */
cppcheck/data/c_files/141.cpp:201
↓ 4 callersFunctionclean_word_attr_scores
(word_attr_scores: list)
linevul/linevul_main.py:1097
↓ 4 callersFunctionparse_register_file_bracket
<register_file_bracket> ::= <file> `[' */
cppcheck/data/c_files/172.cpp:241
↓ 4 callersFunctionprint_sep
Print a character separator. */
cppcheck/data/c_files/141.cpp:236
↓ 4 callersFunctionprline
cppcheck/data/c_files/141.cpp:409
↓ 4 callersFunctionprtext
Print the lines between BEG and LIM. Deal with context crap. If NLINESP is non-null, store a count of lines between BEG and LIM. */
cppcheck/data/c_files/141.cpp:483
↓ 4 callersFunctionsummarize_attributions
(attributions)
linevul/linevul_main.py:655
↓ 3 callersFunctionfbIn
cppcheck/data/c_files/488.cpp:40
↓ 3 callersFunctionparse_optional_swizzle
cppcheck/data/c_files/172.cpp:611
↓ 3 callersFunctionparse_register_bracket
cppcheck/data/c_files/172.cpp:309
↓ 3 callersFunctionprpending
Print pending lines of trailing context prior to LIM. Trailing context ends at the next matching line when OUTLEFT is 0. */
cppcheck/data/c_files/141.cpp:461
↓ 3 callersFunctionrank_lines
(all_lines_score_with_label, is_attention, ascending_ranking)
linevul/linevul_main.py:579
↓ 2 callersFunctionclean_special_token_values
(all_values, padding=False)
linevul/linevul_main.py:1028
↓ 2 callersFunctioncreate_ref_input_ids
(input_ids, ref_token_id, sep_token_id, cls_token_id)
linevul/linevul_main.py:660
↓ 2 callersFunctionencode_all_lines
(all_lines: list, tokenizer)
linevul/linevul_main.py:1084
↓ 2 callersFunctionevaluate
(args, model, tokenizer, eval_dataset, eval_when_training=False)
linevul/linevul_main.py:208
↓ 2 callersFunctionfillbuf
Read new stuff into the buffer, saving the specified amount of old stuff. When we're done, 'bufbeg' points to the beginning of the buffer contents, a
cppcheck/data/c_files/141.cpp:71
↓ 2 callersFunctionget_all_flaw_lines
(flaw_lines: str, flaw_line_seperator: str)
linevul/linevul_main.py:1075
↓ 2 callersFunctiongrepbuf
cppcheck/data/c_files/141.cpp:598
↓ 2 callersFunctionjspeArrowFunction
cppcheck/data/c_files/285.cpp:1
↓ 2 callersFunctionjspeGetBinaryExpressionPrecedence
Get the precedence of a BinaryExpression - or return 0 if not one
cppcheck/data/c_files/285.cpp:337
↓ 2 callersFunctionline_level_localization
(flaw_lines: str, tokenizer, model, mini_batch, original_func: str, args, top_k_lo
linevul/linevul_main.py:827
↓ 2 callersFunctionlist_for_each_entry_safe
cppcheck/data/c_files/103.cpp:5
↓ 2 callersMethodload
cppcheck/data/c_files/549.cpp:1
↓ 2 callersFunctionnlscan
cppcheck/data/c_files/141.cpp:210
↓ 2 callersFunctionparse_file
cppcheck/data/c_files/172.cpp:178
↓ 2 callersFunctionparse_opt_register_src_bracket
cppcheck/data/c_files/172.cpp:390
↓ 2 callersFunctionparse_opt_writemask
cppcheck/data/c_files/172.cpp:195
↓ 2 callersFunctionparse_register_1d
Parse simple 1d register operand. * <register_dst> ::= <register_file_bracket_index> `]' */
cppcheck/data/c_files/172.cpp:283
↓ 2 callersFunctionparse_register_dcl_bracket
cppcheck/data/c_files/172.cpp:441
↓ 2 callersFunctionparse_register_src
Parse source register operand. * <register_src> ::= <register_file_bracket_index> `]' | * <register_file_bracket> <register_d
cppcheck/data/c_files/172.cpp:421
↓ 2 callersFunctionpredict
(input_ids)
linevul/linevul_main.py:667
↓ 2 callersFunctionprint_filename
Print the current filename. */
cppcheck/data/c_files/141.cpp:227
↓ 2 callersFunctionprint_line_head
Print a whole line head (filename, line, byte). */
cppcheck/data/c_files/141.cpp:272
↓ 2 callersFunctionprint_offset
Print a line number or a byte offset. */
cppcheck/data/c_files/141.cpp:245
↓ 2 callersFunctionrank_dataframe
(df, rank_by: str, ascending: bool)
linevul/linevul_main.py:591
↓ 1 callersFunctionCatch
cppcheck/data/c_files/10.cpp:100
↓ 1 callersMethodCompositor
cppcheck/data/c_files/164.cpp:1
↓ 1 callersMethodDecode
cppcheck/data/c_files/176.cpp:1
↓ 1 callersFunctionSkipDXTMipmaps
cppcheck/data/c_files/598.cpp:1
↓ 1 callersMethod__init__
(self, encoder, config, tokenizer, args)
linevul/linevul_model.py:24
↓ 1 callersFunction__jspeAssignmentExpression
cppcheck/data/c_files/285.cpp:499
↓ 1 callersFunction__jspeBinaryExpression
cppcheck/data/c_files/285.cpp:366
↓ 1 callersFunction__jspeConditionalExpression
cppcheck/data/c_files/285.cpp:463
↓ 1 callersFunction__jspePostfixExpression
cppcheck/data/c_files/285.cpp:269
↓ 1 callersFunctionbuild_config
cppcheck/data/c_files/574.cpp:1
↓ 1 callersFunctionconvert_examples_to_features
(func, label, tokenizer, args)
linevul/linevul_main.py:84
↓ 1 callersFunctioncrypto_report_akcipher
cppcheck/data/c_files/248.cpp:1
↓ 1 callersFunctioncrypto_report_cipher
cppcheck/data/c_files/218.cpp:1
↓ 1 callersFunctionencode_one_line
(line, tokenizer)
linevul/linevul_main.py:1105
↓ 1 callersFunctionext4_orphan_del
cppcheck/data/c_files/88.cpp:1
↓ 1 callersFunctionfbCompositeSrcSrc_nxn
cppcheck/data/c_files/488.cpp:1329
↓ 1 callersFunctiongenerate_result_df
(logits, y_trues, y_preds, args)
linevul/linevul_main.py:542
↓ 1 callersFunctionget_line_statistics
(result_df)
linevul/linevul_main.py:574
↓ 1 callersFunctionget_num_lines
(func)
linevul/linevul_main.py:569
↓ 1 callersFunctiongrep
cppcheck/data/c_files/141.cpp:651
↓ 1 callersFunctionjspeBinaryExpression
cppcheck/data/c_files/285.cpp:459
↓ 1 callersFunctionjspeClassDefinition
Parse an ES6 class, expects LEX_R_CLASS already parsed
cppcheck/data/c_files/285.cpp:42
↓ 1 callersFunctionjspeConditionalExpression
cppcheck/data/c_files/285.cpp:495
↓ 1 callersFunctionjspeExpression
',' is allowed to add multiple expressions, this is not allowed in jspeAssignmentExpression
cppcheck/data/c_files/285.cpp:565
↓ 1 callersFunctionjspeExpressionOrArrowFunction
parse expressions with commas, maybe followed by an arrow function (bracket already matched)
cppcheck/data/c_files/285.cpp:15
↓ 1 callersFunctionjspePostfixExpression
cppcheck/data/c_files/285.cpp:290
↓ 1 callersFunctionl2tp_accm_print
cppcheck/data/c_files/490.cpp:1
↓ 1 callersFunctionl2tp_avp_print
cppcheck/data/c_files/324.cpp:1
↓ 1 callersFunctionline_level_localization_tp
(flaw_lines: str, tokenizer, model, mini_batch, original_func: str, args, top_k_loc: list, top_k_constant: lis
linevul/linevul_main.py:665
↓ 1 callersFunctionmain
()
linevul/linevul_main.py:1110
↓ 1 callersFunctionmatch_inst
cppcheck/data/c_files/172.cpp:754
↓ 1 callersFunctionparse_double
cppcheck/data/c_files/172.cpp:67
↓ 1 callersFunctionparse_dst_operand
cppcheck/data/c_files/172.cpp:561
↓ 1 callersFunctionparse_float
Parse floating point. */
cppcheck/data/c_files/172.cpp:15
↓ 1 callersFunctionparse_immediate_data
parses a 4-touple of the form {x, y, z, w} * where x, y, z, w are numbers */
cppcheck/data/c_files/172.cpp:953
↓ 1 callersFunctionparse_register_dcl
Parse register declaration. * <register_dcl> ::= <register_file_bracket_index> `]' | * <register_file_bracket_index> `..' <in
cppcheck/data/c_files/172.cpp:495
↓ 1 callersFunctionparse_register_dst
Parse destination register operand.*/
cppcheck/data/c_files/172.cpp:546
↓ 1 callersFunctionparse_register_file_bracket_index
<register_file_bracket_index> ::= <register_file_bracket> <uint> */
cppcheck/data/c_files/172.cpp:261
↓ 1 callersFunctionparse_src_operand
cppcheck/data/c_files/172.cpp:649
↓ 1 callersFunctionparse_texoffset_operand
cppcheck/data/c_files/172.cpp:725
↓ 1 callersFunctionphp_error_docref
cppcheck/data/c_files/502.cpp:37
↓ 1 callersFunctionprint_line_middle
cppcheck/data/c_files/141.cpp:325
↓ 1 callersFunctionprint_line_tail
cppcheck/data/c_files/141.cpp:388
↓ 1 callersFunctionreset
Reset the buffer for a new file, returning zero if we should skip it. Initialize on the first time through. */
cppcheck/data/c_files/141.cpp:34
↓ 1 callersFunctionset_seed
(args)
linevul/linevul_main.py:107
↓ 1 callersFunctiontest
(args, model, tokenizer, test_dataset, best_threshold=0.5)
linevul/linevul_main.py:258
↓ 1 callersFunctiontop_k_effort
(rank_df, sum_lines, sum_flaw_lines, top_k_loc, label_col_name="label")
linevul/linevul_main.py:596
↓ 1 callersFunctiontop_k_effort_pred_prob
(rank_df, sum_lines, sum_flaw_lines, top_k_loc, label_col_name="y_preds")
linevul/linevul_main.py:609
↓ 1 callersFunctiontop_k_recall
(pos_rank_df, neg_rank_df, sum_lines, sum_flaw_lines, top_k_loc)
linevul/linevul_main.py:622
↓ 1 callersFunctiontop_k_recall_pred_prob
(rank_df, sum_lines: int, sum_flaw_lines: int, top_k_loc: float, label_col_name="y_preds")
linevul/linevul_main.py:643
next →1–100 of 750, ranked by callers