{"id":20613142,"url":"https://github.com/velocidex/c-aff4","last_synced_at":"2025-08-20T04:32:08.952Z","repository":{"id":56799734,"uuid":"116925416","full_name":"Velocidex/c-aff4","owner":"Velocidex","description":"An AFF4 C++ implementation. ","archived":false,"fork":false,"pushed_at":"2023-03-24T00:21:24.000Z","size":4037,"stargazers_count":189,"open_issues_count":31,"forks_count":33,"subscribers_count":18,"default_branch":"master","last_synced_at":"2024-12-11T17:22:28.037Z","etag":null,"topics":["compression-formats","compression-library","digital-forensics","forensics"],"latest_commit_sha":null,"homepage":"http://docs.aff4.org","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Velocidex.png","metadata":{"files":{"readme":"README.docker","changelog":"CHANGES","contributing":"CONTRIBUTING","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-10T07:46:48.000Z","updated_at":"2024-12-10T10:07:50.000Z","dependencies_parsed_at":"2022-08-16T23:30:29.103Z","dependency_job_id":null,"html_url":"https://github.com/Velocidex/c-aff4","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Velocidex%2Fc-aff4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Velocidex%2Fc-aff4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Velocidex%2Fc-aff4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Velocidex%2Fc-aff4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Velocidex","download_url":"https://codeload.github.com/Velocidex/c-aff4/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230394228,"owners_count":18218707,"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":["compression-formats","compression-library","digital-forensics","forensics"],"created_at":"2024-11-16T11:08:57.262Z","updated_at":"2024-12-19T07:06:20.927Z","avatar_url":"https://github.com/Velocidex.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Tested on:\r\n- Windows 10\r\n- Docker version 18.03.0-ce, build 0520e24302\r\n- docker-compose version 1.20.1, build 5d8c71b2\r\n\r\nNotes:\r\n- Currently only supports building win32 targets.\r\n\r\nBuilding:\r\n- Install Docker Toolbox for Windows (https://docs.docker.com/toolbox/toolbox_install_windows/)\r\n  - Though deprecated in favor of \"Docker CE Desktop for Windows, Docker Toolbox for Windows will run\r\n    on a Windows VM. Docker CE Desktop for Windows requires Hyper-V, which does not work well nested.\r\n    It's likely that Docker CE Desktop for Windows will work just fine, if you can actually run it.\r\n- Launch \"Docker Quickstart Terminal\". A Mingw32 bash terminal will open up.\r\n- Within the terminal, change to the root directory of the c-aff4 source tree.\r\n- Run \"docker-compose build\"\r\n  - This builds the docker image, which contains all of the dependencies.\r\n- To run configure step: \"docker-compose run --rm builder-win32 configure\"\r\n  - Configure script is defined in docker/entrypoint.sh\r\n  - Alternatively, if you'd like to create a debug build: \"docker-compose.exe run --rm builder-win32 configure-debug\"\r\n- To build: \"docker-compose run --rm builder-win32 build\"\r\n  - stripped binaries can be found in build/win32\r\n  - Un-stripped binaries (with debugging symbols intact) can be found in the source tree (ex: tools/pmem/winpmem.exe)\r\n- To enter the container: \"docker-compose.exe run --rm builder-win32 bash\"\r\n\r\nDetails:\r\n- The docker file definition, docker/Dockerfile, defines two images:\r\n  - aff4-builder-base (based off of ubuntu:18.04)\r\n    - Installs all of the basic build tools and dependency sources.\r\n    - Dependency sources are placed into /aff4-deps-src\r\n    - Defines an entrypoint script (docker/entrypoint.sh) that allows c-aff4 to be built easily.\r\n  - aff4-builder-win32 (based off of aff4-builder-base)\r\n    - Installs mingw32 build toolchain\r\n    - Defines many windows-specific environment variables\r\n    - Builds all of the dependencies contained in /aff4-deps-src, installing them to /aff4-deps. All of the dependencies are statically-linked.\r\n  - we should be able to easily create an \"aff4-builder-linux\" image, as well.\r\n- docker-compose is used to make the orchestrating of the images a bit easier.\r\n- When you execute \"docker-compose run builder-win32 ...\", the root of the c-aff4 source tree is mounted in the image as \"/src\".\r\n- When building, the compiled binaries sit within your source tree just as though you had built them locally.\r\n- This means that the cycle of editing code, building, and testing becomes much shorter.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvelocidex%2Fc-aff4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvelocidex%2Fc-aff4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvelocidex%2Fc-aff4/lists"}