{
  "id": "2019/366",
  "url": "https://opencryptology.org/2019/366",
  "original_url": "https://eprint.iacr.org/2019/366",
  "title": "Triggerflow: Regression Testing by Advanced Execution Path Inspection",
  "authors": [
    "Iaroslav Gridin",
    "Cesar Pereida García",
    "Nicola Tuveri",
    "Billy Bob Brumley"
  ],
  "affiliations": null,
  "abstract": "Cryptographic libraries often feature multiple implementations of primitives to meet both the security needs of handling private information and the performance requirements of modern services when the handled information is public. OpenSSL, the de-facto standard free and open source cryptographic library, includes mechanisms to differentiate the confidential data and its control flow, including runtime flags, designed for hardening against timing side-channels, but repeatedly accidentally mishandled in the past. To analyze and prevent these accidents, we introduce Triggerflow, a tool for tracking execution paths that, assisted by source annotations, dynamically analyzes the binary through the debugger. We validate this approach with case studies demonstrating how adopting our method in the development pipeline would have promptly detected such accidents. We further show-case the value of the tooling by presenting two novel discoveries facilitated by Triggerflow: one leak and one defect.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Triggerflow: Regression Testing by Advanced Execution Path Inspection” by Iaroslav Gridin, Cesar Pereida García, Nicola Tuveri, Billy Bob Brumley, Cryptology ePrint Archive, Paper 2019/366, https://eprint.iacr.org/2019/366. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2019-04-11T00:36:08Z",
    "updated": "2019-04-25T08:57:35Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2019/366.pdf",
    "sha256": "0198dda5d4dd17d8b9cfc11b84b9ad0ef1bda49284c6ef06d75e5d3cb8eb706f",
    "size": 636337,
    "source": "github-mirror",
    "source_date": "2019-07-09T19:49:17Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2019/366/versions/20190709T194917Z.pdf",
      "captured_at": "2019-07-09T19:49:17Z",
      "label": "copy captured 2019-07-09",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2019/366.pdf",
      "size": 636337,
      "sha256": "0198dda5d4dd17d8b9cfc11b84b9ad0ef1bda49284c6ef06d75e5d3cb8eb706f",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20261002082536id_/https://eprint.iacr.org/2019/366.pdf",
      "captured_at": "2026-10-02T08:25:36Z",
      "size": 615451
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2019/366.pdf",
      "captured_at": "2019-07-09T19:49:17Z",
      "size": 636337
    }
  ],
  "bibtex": "@misc{cryptoeprint:2019/366,\n      author = {Iaroslav Gridin and Cesar Pereida García and Nicola Tuveri and Billy Bob Brumley},\n      title = {Triggerflow: Regression Testing by Advanced Execution Path Inspection},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2019/366},\n      year = {2019},\n      url = {https://eprint.iacr.org/2019/366}\n}"
}
