Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JafarAkhondali/Morefixes
/ functions
Functions
590 in github.com/JafarAkhondali/Morefixes
⨍
Functions
590
◇
Types & classes
75
↳
Endpoints
19
↓ 2 callers
Function
random_str
(n: int)
tests/test_database.py:15
↓ 2 callers
Function
random_url
(max_length: int)
prospector/util/sample_data_generation.py:80
↓ 2 callers
Method
run_sql_script
(self, script_file)
prospector/commitdb/postgres.py:105
↓ 2 callers
Method
run_uncached
(self, cmd, silent=False)
prospector/git/exec.py:34
↓ 2 callers
Method
save
(self, commit: Dict[str, Any])
prospector/commitdb/postgres.py:86
↓ 2 callers
Function
save_repo_meta
populate repository meta-information in repository table.
Code/utils.py:260
↓ 2 callers
Method
set_status
(self, status: MessageStatus)
prospector/cli/console.py:34
↓ 2 callers
Method
start
(self)
prospector/stats/execution.py:65
↓ 2 callers
Method
stop
(self)
prospector/stats/execution.py:29
↓ 2 callers
Method
stop
(self)
prospector/stats/execution.py:68
↓ 2 callers
Function
string_encoder
Encode a string into a list of bytes (utf-8)
prospector/util/lsh.py:18
↓ 2 callers
Function
table_rows_count
(table_name)
Code/database.py:56
↓ 2 callers
Method
traverse_commits
(self, *args)
tests/test_collection/mock_objects.py:142
↓ 1 callers
Method
__getitem__
(self, key)
prospector/stats/collection.py:26
↓ 1 callers
Method
__init__
(self, name: Optional[name])
tests/test_collection/mock_objects.py:10
↓ 1 callers
Method
__init__
(self)
prospector/stats/execution.py:21
↓ 1 callers
Function
_download_cpe_zip
(zip_path=CPE_ZIP_PATH)
Code/cpe_parser.py:22
↓ 1 callers
Method
_is_gitlab
(self)
tests/test_collection/test_find_unavailable_urls.py:21
↓ 1 callers
Method
add_match
(self, rule: Dict[str, Any])
prospector/datamodel/commit.py:54
↓ 1 callers
Function
add_missing_commits
Limit CVE years for processing @param years: optional: which CVE years to proces @return:
Code/resources/dynamic_commit_collector.py:267
↓ 1 callers
Function
analyze_report
(report_file: str, commits: str)
prospector/util/report_analyzer.py:23
↓ 1 callers
Function
apply_cve_cpe_mappers
()
Code/resources/find_repo_url.py:157
↓ 1 callers
Function
apply_ranking
This function is responsible for ranking the list of commits according to their relevance to the advisory record.
prospector/datamodel/commit.py:113
↓ 1 callers
Function
build_lsh_index
()
prospector/util/lsh.py:62
↓ 1 callers
Function
build_statement
(data: Dict[str, Any])
prospector/commitdb/postgres.py:126
↓ 1 callers
Function
caller_name
Get a name of a caller in the format module.class.method Note: It will not work correctly for static methods in classes. `skip` specifies how
prospector/util/inspection.py:5
↓ 1 callers
Function
changed_methods_both
Return the list of methods that were changed. :return: list of methods
Code/collect_commits.py:133
↓ 1 callers
Function
check_rule_strenght
(rules: List[Dict])
prospector/util/report_analyzer.py:13
↓ 1 callers
Function
clone_memo_repo
(repo_url)
Code/collect_projects.py:252
↓ 1 callers
Function
compute_multiple_minhashes
Compute multiple MinHash objects from a list of strings
prospector/util/lsh.py:44
↓ 1 callers
Method
compute_relevance
(self)
prospector/datamodel/commit.py:71
↓ 1 callers
Method
connect
(self, connect_string)
prospector/commitdb/__init__.py:2
↓ 1 callers
Function
contains_relevant_files
This function is responsible for checking whether the commit contains relevant files, i.e. files that are not in the NON_RELEVANT_FILES list.
prospector/filtering/filter.py:75
↓ 1 callers
Function
create_cpe_project_table
(session)
Code/resources/cveprojectdatabase.py:34
↓ 1 callers
Function
create_cve_mapper_table
(conn)
Code/resources/cveprojectdatabase.py:6
↓ 1 callers
Function
create_fixes_table
()
Code/collect_projects.py:53
↓ 1 callers
Function
create_git_patch
(repo_path, commit, output_directory, patch_name)
Code/collect_commits.py:307
↓ 1 callers
Function
create_logger
(name: str = LOGGER_NAME)
prospector/log/logger.py:21
↓ 1 callers
Function
create_prospector_job
(entry)
prospector/data_sources/nvd/job_creation.py:39
↓ 1 callers
Function
cve_cpe_mapper
(conn)
Code/resources/cveprojectdatabase.py:50
↓ 1 callers
Function
cve_cpe_table
()
Code/resources/find_repo_url.py:67
↓ 1 callers
Function
do_fetch_full
(start_from_year=START_FROM_YEAR, quiet=False)
prospector/service/api/routers/nvd_feed_update.py:82
↓ 1 callers
Function
do_update
(quiet=False)
prospector/service/api/routers/nvd_feed_update.py:37
↓ 1 callers
Function
download_and_extract_zip
(url, target_directory)
Code/resources/main.py:6
↓ 1 callers
Function
dump_osv_records
(out_path)
Code/resources/main.py:42
↓ 1 callers
Function
evaluate_commits
( commits: List[Commit], advisory: AdvisoryRecord, rules: List[str] )
prospector/core/prospector.py:282
↓ 1 callers
Method
execute
(self, cmd, silent=False)
prospector/git/exec.py:49
↓ 1 callers
Function
extract_candidate_commits
(cve_id, project_url, rel_type)
Code/resources/dynamic_commit_collector.py:132
↓ 1 callers
Function
extract_commit_url_from_refs
(ref_list, cve_id)
Code/collect_commits.py:41
↓ 1 callers
Function
extract_commits
This function extract git commit information of only the hashes list that were specified in the commit URL. All the commit_fields of the correspon
Code/collect_commits.py:329
↓ 1 callers
Function
extract_cve
(cve_id_candidate)
Code/resources/extract_github_repo_from_ghsd.py:29
↓ 1 callers
Function
extract_cve_references
Extract CVE identifiers
prospector/datamodel/nlp.py:180
↓ 1 callers
Function
extract_cwe
obtains the table of CWE categories from NVD.nist.gov site :return df_CWE: dataframe of CWE category table
Code/extract_cwe_record.py:17
↓ 1 callers
Function
extract_filename
(text: str, relevant_extensions: List[str])
prospector/datamodel/nlp.py:112
↓ 1 callers
Function
extract_ghissue_references
Extract identifiers that look like references to GH issues, then extract their content
prospector/datamodel/nlp.py:132
↓ 1 callers
Function
extract_github_url
(parsed_cve)
Code/resources/extract_github_repo_from_ghsd.py:33
↓ 1 callers
Function
extract_jira_references
Extract identifiers that point to Jira tickets, then extract their content
prospector/datamodel/nlp.py:164
↓ 1 callers
Function
extract_products
Extract product names from advisory text
prospector/datamodel/nlp.py:69
↓ 1 callers
Function
extract_project_links
extracts all the reference urls from CVE records that match to the repo commit urls
Code/collect_commits.py:58
↓ 1 callers
Function
extract_repo_url_and_commit_hash
(commit_url)
Code/resources/extract_github_repo_from_ghsd.py:18
↓ 1 callers
Function
extract_version_ranges_cpe
(json_data)
prospector/data_sources/nvd/versions_extraction.py:23
↓ 1 callers
Function
fake_decode_token
(token)
prospector/service/api/dependencies.py:55
↓ 1 callers
Function
fake_hash_password
(password: str)
prospector/service/api/dependencies.py:61
↓ 1 callers
Method
fetch_references
(self)
prospector/datamodel/advisory.py:113
↓ 1 callers
Function
filter_commits
( candidates: Dict[str, RawCommit] )
prospector/filtering/filter.py:28
↓ 1 callers
Method
find_commits_for_twin_lookups
(self, commit_id)
prospector/git/git.py:313
↓ 1 callers
Function
find_github_source_code_by_cve
(cve_id)
Code/giturl/github.py:40
↓ 1 callers
Function
find_matching_entries_test
(data)
prospector/data_sources/nvd/filter_entries.py:80
↓ 1 callers
Function
find_project_with_json_api
(pkg_name)
Code/registry_to_github.py:161
↓ 1 callers
Function
find_similar_words
Extract nouns from commit message that appears in the advisory text
prospector/datamodel/nlp.py:52
↓ 1 callers
Function
fix_column_types
()
Code/collect_projects.py:458
↓ 1 callers
Function
format_annotations
(commit: Commit)
prospector/core/report.py:85
↓ 1 callers
Function
generate_report
( results, advisory_record, report_type, report_filename, prospector_params, report_di
prospector/core/report.py:110
↓ 1 callers
Function
getCommitCount
Get the total number of commits in a GitHub repository.
Code/utils.py:52
↓ 1 callers
Function
get_all_job_ids
()
prospector/service/api/rq_utils.py:19
↓ 1 callers
Function
get_all_jobs
()
prospector/service/api/rq_utils.py:37
↓ 1 callers
Function
get_args
(data: Dict[str, Any])
prospector/commitdb/postgres.py:132
↓ 1 callers
Method
get_commits
( self, next_tag=None, prev_tag=None, since=None, until=None,
prospector/git/git.py:201
↓ 1 callers
Function
get_commits_from_tags
( advisory_record: AdvisoryRecord, repository: Git, prev_tag: str, next_tag: str, time_lim
prospector/core/prospector.py:414
↓ 1 callers
Function
get_commits_no_tags
(repository: Git, commit_ids: List[str])
prospector/core/prospector.py:457
↓ 1 callers
Function
get_cves
(d_time)
prospector/data_sources/nvd/filter_entries.py:9
↓ 1 callers
Function
get_cwe_class
Extract CWEs from NVD 2.0 weakness_json format. weakness_json is array: [{source, type, description: [{lang, value: "CWE-XX"}]}]
Code/extract_cwe_record.py:91
↓ 1 callers
Function
get_enabled_rules
(rules: List[str])
prospector/rules/rules.py:78
↓ 1 callers
Function
get_encoded_minhash
Compute a MinHash object from a string and encode it
prospector/util/lsh.py:13
↓ 1 callers
Function
get_file_size
(file_path)
Code/collect_commits.py:297
↓ 1 callers
Function
get_files
returns the list of files of the commit.
Code/collect_commits.py:248
↓ 1 callers
Method
get_fixing_commit
(self, repository)
prospector/datamodel/advisory.py:179
↓ 1 callers
Function
get_from_mitre
(cve_id: str)
prospector/datamodel/advisory.py:259
↓ 1 callers
Function
get_from_nvd
Get an advisory from the NVD dtabase
prospector/service/api/routers/nvd.py:48
↓ 1 callers
Function
get_from_xml
(id: str)
prospector/util/http.py:92
↓ 1 callers
Function
get_github_repo_meta
Returns GitHub meta-information for repo_url using the REST API directly. A 404 is treated as removed (returns None); 301s (renamed repos) ar
Code/utils.py:189
↓ 1 callers
Method
get_hunks_count
(self, diffs: List[str])
prospector/git/raw_commit.py:57
↓ 1 callers
Function
get_job_from_id
(job_id)
prospector/service/api/rq_utils.py:31
↓ 1 callers
Function
get_json
(url)
Code/registry_to_github.py:10
↓ 1 callers
Function
get_methods
returns the list of methods in the file.
Code/collect_commits.py:160
↓ 1 callers
Function
get_one_query
(query)
Code/database.py:78
↓ 1 callers
Function
get_osv_ecosystems
()
Code/resources/main.py:37
↓ 1 callers
Function
get_possible_tags
Given a list of tags and a version interval, return the possible tag interval that matches.
prospector/git/version_to_tag.py:77
↓ 1 callers
Method
get_tag
(self)
prospector/datamodel/commit.py:68
↓ 1 callers
Method
get_tags
(self)
prospector/git/git.py:370
← previous
next →
101–200 of 590, ranked by callers