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

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

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
Change log CHANGELOG.md
Dependencies array (>=0.3), base (>=4.8 && <5), binary (>=0.8), bytestring (>=0.10), containers (>=0.4), deepseq, directory, fgl (>=5.5), fgl-visualize (>=0.1), filepath, foldl, llvm-pretty (>=0.12.1.0 && <0.13), llvm-pretty-bc-parser, monadLib (>=3.7.2), 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.4, ghc ==9.6, ghc ==9.8
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>
Category Text
Source repo head: git clone https://github.com/galoisinc/llvm-pretty-bc-parser
Uploaded by mccleeary at 2024-08-30T14:29:26Z
Distributions
Reverse Dependencies 2 direct, 1 indirect [details]
Executables fuzz-llvm-disasm, regression-test, llvm-disasm
Downloads 8680 total (54 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-08-30 [all 1 reports]

Readme for llvm-pretty-bc-parser-0.4.2.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
v3.5
v3.6
v3.7
v3.8
v3.9
v4.0
v5.0
v6.0
v7.0
v8.0
v9.0
v10.0
v11.0
v12.0
v13.0 See issues
v14.0 See issues
v15.0 See issues
v16.0 See issues
clang++ v3.4
v3.5
v3.6
v3.7
v3.8
v3.9
v4.0
v5.0
v6.0
v7.0
v8.0

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.4.5
  • GHC 9.6.2
  • GHC 9.8.1