LLVM-DIS(1)
π LLVM-DIS(1) β the LLVM disassembler bestie π
okay so grab a snack π because you're reading the LLVM-DIS(1) manual page, part of the LLVM fam, and honestly? it's a whole vibe. let's get into it π
β¨ SYNOPSIS β¨
llvm-dis [options] [filename]
πΈ DESCRIPTION πΈ
so llvm-dis is literally the LLVM disassembler π β it takes an LLVM bitcode file and turns it into human-readable LLVM assembly language. that's it. that's the whole main character energy. it walks in, eats the bitcode, and hands you back something your eyeballs can actually read. β¨
if filename is omitted, or you pass it as -, then llvm-dis reads its input from standard input. yes, like a little pipe gremlin. π§
and here's the output tea β β if the input is being read from standard input, llvm-dis sends its output to standard output by default. otherwise, the output gets written to a file named after the input file, with a .ll suffix added (and any existing .bc suffix gets removed first, obviously, we're not messy). you can override the choice of output file using the -o option. slay. π
π OPTIONS π
-fβ enable binary output on terminals. normallyllvm-diswill refuse to write raw bitcode output if the output stream is a terminal π€ but with this option,llvm-diswill write raw bitcode regardless of the output device. no vibe check, no questions asked.-helpβ print a summary of command line options. your little cheat sheet, bestie π«Ά-ofilename β specify the output file name. if filename is-, then the output is sent to standard output. iconic behaviour honestly.
β EXIT STATUS β
if llvm-dis succeeds, it will exit with 0 π if an error occurs, it will exit with a non-zero value π (that's your cue to go debug, iykyk).
ngl, a 0 is the good ending. anything else means something's up, so don't ignore it π
π¦ SEE ALSO π¦
llvm-as(1)β the other half of the friend group, go say hi π
π AUTHOR π
maintained by the LLVM Team (https://llvm.org/). they're the parents fr fr.
π COPYRIGHT π
2003-2026, LLVM Project β periodt. π
and that's the page, bestie!! π this was the LLVM-DIS(1) manual page from the LLVM fam, manual page number 23, dated 2026-10-06 β mwah, go disassemble something gorgeous πΈπ
β¨
π¦ where this page comes from
- centos-stream 9: llvm 23.1.3-1.el9 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- centos-stream 9: llvm 23.1.3-1.el9 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms