LLVM-DIS(1)
π LLVM-DIS(1) β the llvm-dis manual, bestie edition β¨
okay so you opened the manual for llvm-dis, part of the LLVM fam, and honestly? it's a short one, we love a low-effort icon. let's get into it π«Ά
πΈ NAME πΈ
llvm-dis β the LLVM disassembler. that's it, that's the name. short, sweet, main character energy π
β¨ SYNOPSIS β¨
llvm-dis [options] [filename]
literally just that. options, then a filename, no drama π
π¦ DESCRIPTION π¦
so llvm-dis is the LLVM disassembler, and what it does is take an LLVM bitcode file and turn it into human-readable LLVM assembly language. glow-up translation, basically. machine soup in, readable text out π
if you skip filename entirely, or pass it as -, then llvm-dis reads its input from standard input. no filename needed, she'll take it straight from the pipe π§
and here's the output tea β β if the input is coming from standard input, the output goes to standard output by default. but if the input is a real file, 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. so thing.bc becomes thing.ll, iconic behaviour. you can override the whole output-file situation with the -o option if you're feeling picky π
π₯ OPTIONS π₯
-fβ enables binary output on terminals. normallyllvm-diswill refuse to write raw bitcode output if the output stream is a terminal, like a bouncer at the club π«. with this option,llvm-diswill write raw bitcode regardless of the output device. no cap, it just does it.-helpβ prints a summary of command line options. your little cheat sheet, bestie π-ofilename β specify the output file name. and if filename is-, then the output is sent to standard output. dash means stdout, always and forever π«Ά
β οΈ heads up: that -f thing exists because dumping raw bitcode at a terminal is normally a whole mess. only reach for it when you actually mean it, okay? π
π EXIT STATUS π
if llvm-dis succeeds, it exits with 0. slay. otherwise, if an error occurs, it exits with a non-zero value. so like, check your exit codes, that's the vibe check π
π SEE ALSO π
llvm-as(1)β the other half of the duo, go say hi π¦
π AUTHOR π
maintained by the LLVM Team (https://llvm.org/). absolute legends, fr fr π
π COPYRIGHT π
2003-2025, LLVM Project. periodt.
LLVM β LLVM-DIS(1) β page 20 β dated 2025-09-03 πΈ
that's the whole page bestie, thanks for reading, go disassemble something gorgeous πβ¨π¦
π¦ where this page comes from
- fedora 43: llvm20 20.1.8-2.fc43 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- fedora 43: llvm20 20.1.8-2.fc43 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- fedora 44: llvm20 20.1.8-2.fc44 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- fedora 44: llvm20 20.1.8-2.fc44 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms