{"id":17219395,"url":"https://github.com/andreafioraldi/daikon_llvm_blocks","last_synced_at":"2025-03-25T14:42:07.067Z","repository":{"id":75191375,"uuid":"374994155","full_name":"andreafioraldi/daikon_llvm_blocks","owner":"andreafioraldi","description":null,"archived":false,"fork":false,"pushed_at":"2021-10-29T12:14:03.000Z","size":10389,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-30T13:26:25.030Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreafioraldi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-08T12:03:46.000Z","updated_at":"2021-11-11T15:26:46.000Z","dependencies_parsed_at":"2023-03-22T23:31:13.056Z","dependency_job_id":null,"html_url":"https://github.com/andreafioraldi/daikon_llvm_blocks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreafioraldi%2Fdaikon_llvm_blocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreafioraldi%2Fdaikon_llvm_blocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreafioraldi%2Fdaikon_llvm_blocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreafioraldi%2Fdaikon_llvm_blocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreafioraldi","download_url":"https://codeload.github.com/andreafioraldi/daikon_llvm_blocks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245484737,"owners_count":20623137,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T03:49:46.643Z","updated_at":"2025-03-25T14:42:07.042Z","avatar_url":"https://github.com/andreafioraldi.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Daikon LLVM frontend for block invariants\n\nAn LLVM frontend for Daikon to generate basic-block level invariants.\n\n### Pre\n\n+ set LLVMDAIKON_OUTPUT_PATH\n+ run a fuzzing campaign\n\n### Input\n\n+ It requires a working command line to compile a project\n\n### Output\n\n+ file containing the source-level mapping in json format\n\n## Steps\n\n+ set LLVMDAIKON_OUTPUT_PATH\n+ compile with dump-cc/c++\n+ run reconstruct_dump\n+ run reconstruct_dwarf\n+ run learn_invariants with dumper binary\n+ run generate_constraints\n+ run map_llvm_to_src\n+ run insert_annotations path/to/project/src [TO BE FIXED]\n\n## Automation\n\nThe script ```analyser.py``` provides an easy way to automate the previous steps. Command line example:\n\n```\n./analyser.py --output /tmp/res --project SRC_FOLDER --corpus ./FUZZER_OUTPUT/default/queue/ --configure \"./configure --disable-shared\" --compile make --dumper \"SRC_FOLDER/BINARY @@\"\n```\n\nIt only assumes to running the fuzzing campaign before the actual analysis\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreafioraldi%2Fdaikon_llvm_blocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreafioraldi%2Fdaikon_llvm_blocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreafioraldi%2Fdaikon_llvm_blocks/lists"}