An open API service indexing awesome lists of open source software.

https://github.com/ajlekcahdp4/dominance-frontier

Just me practicing with Graph Dominators
https://github.com/ajlekcahdp4/dominance-frontier

Last synced: 1 day ago
JSON representation

Just me practicing with Graph Dominators

Awesome Lists containing this project

README

        

# Dominance Frontier

## Install ALL the dependencies

Install nix if you still don't have it. See https://nixos.org/download/

```sh
nix develop
# Or (if you use direnv)
direnv allow
```

## How To Run:

```sh
cmake -S . -B build
cmake --build build
build/domfront --help
```

Or build package using Nix:

```sh
nix build .
result/bin/domfront --help
```

## Options

```shell
domfront options:

--dump-cfg= - Dump CFG to dot file
--dump-df= - Dump DF graph to dot file
--dump-dj= - Dump DJ graph to dot file
--dump-dom-tree= - Dump Dom Tree to dot file
--dump-idf= - Dump IDF graph to dot file
--gen-iterations= - Iteration number for CFG generation
--generate-cfg - Forces to generate CFG, not take it as an input
--print-idom - Print Immediate Dominators
--seed= - Random seed
```

## Examples

To explore examples of input CFG and output see [examples](./examples/)