Skip to content

About

Syntax highlighting for assembly in dot files

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

When creating dot files of assembly using the r2 command agfd, I don't like how the code looks and that there is no syntax highlighting.

This repository aims to change the appearance and syntax highlighted dot files that are generated by agfd.

usage: highlight.py [-h] [-o OUTPUT] [--arm] [--dark] input_file

Syntax highlight assembly code in dot files

positional arguments:
  input_file            The input file to be processed

options:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        Specify the output file path (default: output.dot)
  --arm                 ARM Syntax Highlighting
  --dark                Dark Color-Palette

Afterwards a nice looking pdf can be generated using dot -Tpdf -o output.pdf output.dot

. .
light
dark
agfd

About

Syntax highlighting for assembly in dot files

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages