llvm-pretty-bc-parser: LLVM bitcode parsing library

[ bsd3, library, program, text ] [ Propose Tags ] [ Report a vulnerability ]

A parser for the LLVM bitcode file format, yielding a Module from the llvm-pretty package.


[Skip to Readme]

Flags

Automatic Flags
NameDescriptionDefault
fuzz

Enable fuzzing harness

Disabled
regressions

Enable regression testing build

Disabled
old-optparse

Enable pprint compatibility when using older optparse-applicative

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.2.0, 0.1.2.1, 0.1.2.2, 0.1.3.0, 0.1.3.1, 0.2.0.0, 0.2.1.0, 0.3.0.0, 0.3.0.1, 0.3.1.0, 0.3.2.0, 0.4.0.0, 0.4.1.0, 0.4.2.0, 0.5.0.0, 0.5.1.0, 0.6.0.0
Change log CHANGELOG.md
Dependencies array (>=0.3), base (>=4.8 && <5), bytestring (>=0.10), containers (>=0.4), deepseq, directory, fgl (>=5.5), fgl-visualize (>=0.1), filepath, foldl, llvm-pretty (>=0.14.0.0 && <0.15), llvm-pretty-bc-parser, mtl (>=2.2.2), pretty (>=1.0.1), pretty-show (>=1.6), process, random, temporary, text, time, transformers, turtle (>=1.6), uniplate (>=1.6), utf8-string (>=1.0), xml [details]
Tested with ghc ==9.6, ghc ==9.8, ghc ==9.10
License BSD-3-Clause
Author Trevor Elliott <trevor@galois.com>
Maintainer Ryan Scott <rscott@galois.com> , Kevin Quick <kquick@galois.com> , Langston Barrett <langston@galois.com>
Uploaded by aschwerdfeger_galois at 2026-01-23T20:55:21Z
Category Text
Source repo head: git clone https://github.com/galoisinc/llvm-pretty-bc-parser
Distributions NixOS:0.5.1.0
Reverse Dependencies 2 direct, 1 indirect [details]
Executables fuzz-llvm-disasm, regression-test, llvm-disasm
Downloads 8998 total (60 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2026-01-23 [all 1 reports]

Readme for llvm-pretty-bc-parser-0.6.0.0

[back to package description]

llvm-pretty-bc-parser

A parser for the LLVM bitcode file format, yielding a Module from the llvm-pretty package.

Compatibility

The following table shows what kinds of tests have been/are being run with which compilers.

  • A check in the the randomized tests column indicates that such tests are regularly run in Github Actions.
  • A check in the manual tests column indicates that the parser seems to work on some code that was generated by this compiler.
Compiler Version Randomized tests Manual tests Notes
clang v3.4 See issues
v3.5 See issues
v3.6 See issues
v3.7 See issues
v3.8 See issues
v3.9 See issues
v4 See issues
v5 See issues
v6 See issues
v7 See issues
v8 See issues
v9 See issues
v10 See issues
v11 See issues
v12 See issues
v13 See issues
v14 See issues
v15 See issues
v16 See issues
v17 See issues
v18 See issues
v19 See issues
v20 See issues
v21 See issues

If you encounter problems with the output of any compiler, please file an issue.

Documentation

Developers' documentation: doc/developing.md

GHC Support

llvm-pretty-bc-parser endeavors to support three versions of GHC at a time. See the developers' documentation for more details and a rationale: doc/developing.md. Currently supported:

  • GHC 9.6.6
  • GHC 9.8.4
  • GHC 9.10.1