{"id":51685412,"url":"https://github.com/tinysec/libjpeg-asan","last_synced_at":"2026-07-15T19:34:34.679Z","repository":{"id":365647153,"uuid":"1272179585","full_name":"tinysec/libjpeg-asan","owner":"tinysec","description":"ASAN fuzzer build of Chrome's libjpeg-turbo - tracks Chrome stable","archived":false,"fork":false,"pushed_at":"2026-06-18T08:29:26.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-18T09:24:14.700Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/tinysec.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-17T11:11:07.000Z","updated_at":"2026-06-18T08:29:30.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tinysec/libjpeg-asan","commit_stats":null,"previous_names":["tinysec/libjpeg-asan"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/tinysec/libjpeg-asan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinysec%2Flibjpeg-asan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinysec%2Flibjpeg-asan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinysec%2Flibjpeg-asan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinysec%2Flibjpeg-asan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinysec","download_url":"https://codeload.github.com/tinysec/libjpeg-asan/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinysec%2Flibjpeg-asan/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35519051,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-15T02:00:06.706Z","response_time":131,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-07-15T19:34:34.196Z","updated_at":"2026-07-15T19:34:34.671Z","avatar_url":"https://github.com/tinysec.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# libjpeg-asan\n\nASAN-instrumented build of **Chrome's libjpeg-turbo** — the JPEG codec Chrome ships — plus ready-to-run libFuzzer harnesses. Rebuilt automatically whenever the revision Chrome uses changes.\n\n![build](https://github.com/tinysec/libjpeg-asan/actions/workflows/build.yml/badge.svg)\n![track](https://github.com/tinysec/libjpeg-asan/actions/workflows/track.yml/badge.svg)\n![release](https://img.shields.io/github/v/release/tinysec/libjpeg-asan?label=release)\n\n## Staying current\n\n`chrome.lock` pins the exact libjpeg-turbo revision a specific Chrome stable\nversion ships (Chrome pins libjpeg-turbo inline in its DEPS). The\n[`track-chrome`](.github/workflows/track.yml) workflow runs every 6 hours: it\nresolves the latest Chrome stable, extracts the libjpeg-turbo SHA from Chrome\nDEPS, and when it has changed it bumps `chrome.lock`, tags `libjpeg-turbo-\u003csha8\u003e`,\nand triggers [`build`](.github/workflows/build.yml). Each `libjpeg-turbo-\u003csha8\u003e` tag\nbecomes a GitHub release.\n\nThe build compiles the **upstream libjpeg-turbo release** that matches the\nChrome-vendored version (read from the fork's `jconfig.h`), using its native\nCMake — the Chrome fork ships only BUILD.gn.\n\n## Release artifacts\n\nEach release is published at its `libjpeg-turbo-\u003csha8\u003e` tag as one **zip per\nplatform and build mode**:\n\n- **ASAN build** (`*-asan-*`): the ASAN **static** libjpeg + libturbojpeg\n  (`libjpeg.a` / `jpeg-static.lib`, `libturbojpeg.a` / `turbojpeg-static.lib`)\n  and **dynamic** libs (`libjpeg.so.*` / `jpeg62.dll`, `libturbojpeg.so.*` /\n  `turbojpeg.dll`), the public headers (`jpeglib.h`, `jmorecfg.h`, `jerror.h`,\n  `turbojpeg.h`, generated `jconfig.h`), and on Windows the ASAN runtime DLL.\n- **libFuzzer build** (`*-libfuzzer-*`, Linux only): self-contained libFuzzer\n  binaries (`cjpeg_fuzzer`, `compress*_fuzzer`, `transform_fuzzer`,\n  `libjpeg_turbo_fuzzer`, …). The upstream harnesses `#include \u003cunistd.h\u003e`,\n  which clang-cl/MSVC does not ship, so libFuzzer binaries are built on Linux\n  only; Windows still ships the ASAN static + dynamic libraries.\n\n## ASAN runtime model (Windows)\n\nThe Windows LLVM toolchain ships **dynamic-only** ASAN. Every Windows library\nhere imports `__asan_*` from `clang_rt.asan_dynamic-x86_64.dll`, which is\nshipped inside each Windows zip. **That DLL must sit beside your executable /\nDLL at runtime.** Linux links ASAN statically and needs no extra runtime.\n\n## Fuzzing on Windows\n\n- **Run the shipped libFuzzer binaries directly** (Linux): e.g.\n  `cjpeg_fuzzer corpus/`.\n- **AFL++ / WinAFL (Windows):** link the ASAN **static** library into a harness\n  exposing a target function over a memory buffer, then point WinAFL at that\n  function. The static lib + shipped ASAN DLL is the same combination the\n  libFuzzer binaries use.\n\n\u003e These builds provide the ASAN-instrumented library to target. They do not\n\u003e bundle the AFL++ / WinAFL runner itself (a separate DynamoRIO-based\n\u003e toolchain on Windows).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinysec%2Flibjpeg-asan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinysec%2Flibjpeg-asan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinysec%2Flibjpeg-asan/lists"}