auxoncorp / barectf

Generator of ANSI C tracers which output CTF data streams

Home Page:https://barectf.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

barectf

 

barectf barectf master build

barectf (from bare metal and CTF) is a generator of tracer which produces CTF data streams.

Note

This README mostly documents barectf development.

To learn how to use barectf, read its documentation.

Install barectf

See the barectf documentation’s Install barectf page.

Build barectf

barectf is a Poetry project.

To build barectf from this repository:

  1. Install Poetry.

  2. Build the project:

    $ poetry build

    The dist directory contains the distribution archives.

Build the barectf documentation

This repository contains an Antora documentation component version under the docs directory.

This component version is the source of the barectf documentation website.

You can refer to this component version in your Antora playbook file, for example:

site:
  # ...
content:
  sources:
    - url: https://github.com/efficios/barectf
      branches: [stable-3.0]
      start_path: docs
    # ...
ui:
  # ...

Test barectf

To run the barectf tests:

  1. Make sure you have the testing requirements:

    • A little-endian architecture.

      YAML configuration files of tracing tests use a little-endian native byte order.

    • tox

    • A C compiler.

      If your C compiler is not the command cc, then set the CC environment variable to your compiler’s path and export it to run the barectf tests.

    • GNU Make

  2. Run the tests:

    $ tox

Get help

See the barectf documentation’s Get help page.

About

Generator of ANSI C tracers which output CTF data streams

https://barectf.org

License:MIT License


Languages

Language:Python 51.7%Language:C 29.0%Language:Jinja 18.2%Language:Makefile 1.1%