The Awesome Dude
  • Home
  • About Me
Subscribe
Tagged

llvm

A collection of 2 posts

llvm

LLVM dot-callgraph generates output dotfiles outside of the current directory

LLVM dot-callgraph is one of the LLVM passes that will generate dot files of the program graph. Apart from dot-callgraph, there are also the following passes: dot pass name Description dot-callgraph Print call graph to 'dot' file dot-cfg Print CFG of function to 'dot' file dot-cfg-only Print CFG of function

  • Jon Kartago Lamida
Jon Kartago Lamida Jun 23, 2021 • 1 min read
llvm

Register xdg-open for xdot in WSL

I have been using LLVM control-flow graph (CFG) pass for my static analysis research. Normally, I should be able to see the CFG of the intermediate representation of the program (IR) by running: opt file.ll -passes=view-cfgInstead of opening xdot that will view the CFG, opt opened Google Chrome

  • Jon Kartago Lamida
Jon Kartago Lamida Jun 21, 2021 • 2 min read
The Awesome Dude © 2025
Powered by Ghost