LLVM-DIS(1)
π LLVM-DIS(1) β the LLVM disassembler, bestie edition
okay so bestie, you know how LLVM has a whole little family of tools? This is llvm-dis, from the LLVM manual page squad. Think of me as your disassembler tour guide, except I actually know what I'm talking about. β¨
πΈ NAME πΈ
llvm-dis β the LLVM disassembler. that's it, that's the name, no cap.
π SYNOPSIS π
llvm-dis [options] [filename]
π¦ DESCRIPTION π¦
so the llvm-dis command is the LLVM disassembler, periodt. It takes an LLVM bitcode file and converts it into human-readable LLVM assembly language. literally a glow-up from unreadable bytes to something your eyes can actually handle. π
If filename is omitted or specified as -, then llvm-dis reads its input from standard input. love that for us, very flexible.
If the input is being read from standard input, then llvm-dis will send its output to standard output by default. Otherwise β and this is the part people forget β the output will be written to a file named after the input file, with a .ll suffix added. And yeah, any existing .bc suffix will first be removed before that happens. iconic behaviour honestly. π«Ά
You can override the choice of output file using the -o option. so if you don't like the default vibe, just say so.
β¨ OPTIONS β¨
-fβ Enable binary output on terminals. Normally,llvm-diswill refuse to write raw bitcode output if the output stream is a terminal. With this option,llvm-diswill write raw bitcode regardless of the output device. it's giving "I know what I'm doing" energy, okurrr. π-helpβ Print a summary of command line options. the classic "wait what were the flags again" save. π-ofilename β Specify the output file name. If filename is-, then the output is sent to standard output. put filename right after it, that's the whole assignment. π¦
β EXIT STATUS β
If llvm-dis succeeds, it will exit with 0. yay, we ate. π
Otherwise, if an error occurs, it will exit with a non-zero value. π not the error era but ok, at least it tells you.
π₯ SEE ALSO π₯
llvm-as(1) <llvm-as.html>β the other half of the duo, go say hi.
π Author π
Maintained by the LLVM Team (https://llvm.org/). they keep it running, we keep it cute. π
π Copyright π
2003-2026, LLVM Project
and that's the whole page bestie, go disassemble something iconic. πβ¨
β with love from the LLVM Project, source/version 15, dated 2026-09-09, page LLVM-DIS(1). slay. ππ
π¦ where this page comes from
- ubuntu stonking: llvm-18 1:18.1.8-20ubuntu11 Β· APACHE-2-LLVM-EXCEPTIONS
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms