LLVM-DIS(1)
π LLVM-DIS(1) β the LLVM manual's disassembler page, bestie edition π
okay so you're looking at the llvm-dis page from the LLVM manual set, and honestly? it's a whole vibe. it's short, it's sweet, it's giving "small tool, big slay." let's get into it β¨
πΈ NAME πΈ
llvm-dis β the LLVM disassembler, periodt π
π¦ SYNOPSIS π¦
llvm-dis [options] [filename]
that's it. that's the whole entrance. main character energy π₯
π DESCRIPTION π
okay so here's the tea π: the llvm-dis command is the LLVM disassembler. it takes an LLVM bitcode file and converts it into human-readable LLVM assembly language. literally translating robot scribbles into something you can actually read. iconic behavior, no cap π
if filename is omitted or specified as -, then llvm-dis reads its input from standard input. yes, like a little straw sipping your data π₯€
and here's the part where you gotta pay attention, bestie π«Ά β if the input is being read from standard input, then llvm-dis will send its output to standard output by default. otherwise, the output will be written to a file named after the input file, with a .ll suffix added (any existing .bc suffix will first be removed). so thing.bc becomes thing.ll, and the .bc got β¨ yeeted β¨
you can override the choice of output file using the -o option. your file, your rules πββοΈ
β¨ 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 like "bestie i know you said no but i'm doing it anyway" π use with intention, fr fr.-helpβ print a summary of command line options. the "help me help you" option π-ofilename β specify the output file name. if filename is-, then the output is sent to standard output. lowkey the most useful flag here ngl β
π EXIT STATUS π
if llvm-dis succeeds, it will exit with 0. π otherwise, if an error occurs, it will exit with a non-zero value. π that's the vibe check, and the vibe check does not negotiate.
π SEE ALSO π
llvm-as(1)β the other half of this duo, iykyk π§
π AUTHOR π
maintained by the LLVM Team (https://llvm.org/). they're out here doing the lord's work, and we're obsessed π«Ά
π COPYRIGHT π
2003-2025, LLVM Project β a two-decade-plus glow-up, honestly iconic π
aaaand that's the page, bestie! π this was LLVM 19, dated 2025-01-17, served fresh from the LLVM-DIS(1) corner of the manual. go forth disassemble, slay, and remember: .ll is the goal π¦β¨
π¦ where this page comes from
- opensuse-leap 16.0: llvm19 19.1.7-160000.2.2 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm19 19.1.7-160000.2.2 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm19 19.1.7-160000.2.2 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm19 19.1.7-160000.2.2 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms