LLVM-DIS(1)
π llvm-dis β the LLVM disassembler π
okay bestie, welcome to the LLVM corner of the group chat, section 1, page LLVM-DIS(1), and today we're talking about the lil tool that turns crunchy robot bytes back into something your eyeballs can actually read. no cap. π¦
β¨ NAME β¨
llvm-dis β the LLVM disassembler, aka the un-scrambler, aka the glow-up machine π«Ά
πΈ SYNOPSIS πΈ
llvm-dis [options] [filename]
π DESCRIPTION π
so llvm-dis is the LLVM disassembler. it takes an LLVM bitcode file and converts it into human-readable LLVM assembly language. that's the whole vibe. bitcode in, gorgeous legible assembly out. ate. π₯
if filename is omitted, or if it's specified as -, then llvm-dis reads its input from standard input. literally just pipes it straight into its lil heart. π₯Ί
and here's the part where you gotta pay attention: if the input is being read from standard input, then llvm-dis will send its output to standard output by default. but otherwise, the output gets written to a file named after the input file, with a .ll suffix added β and before that happens, any existing .bc suffix will first be removed. so your thing.bc becomes thing.ll, iconic behaviour honestly. β¨
you can override the choice of output file using the -o option. you're the main character, you get to decide. π
π 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, and maybe you do, and maybe you don't, but either way it's gonna do it. π-helpβ print a summary of command line options. your friendly lil menu, no judgment, just facts. π-ofilenameβ specify the output file name. iffilenameis-, then the output is sent to standard output. simple as that, bestie. π
π¦ EXIT STATUS π¦
if llvm-dis succeeds, it will exit with 0. clean. flawless. no notes. β¨
otherwise, if an error occurs, it will exit with a non-zero value. π we don't love that for us, but at least you'll know.
π SEE ALSO π
llvm-as(1) β the other half of the situationship, the one that goes the other direction. iykyk. π
π AUTHOR π
maintained by the LLVM Team (https://llvm.org/). they're doing the lord's work fr fr. π
π COPYRIGHT π
2003-2025, LLVM Project
and that's the whole page, babes β this was page 14 of LLVM-DIS(1), dated 2025-05-22, brought to you by the LLVM crew. go disassemble something and feel like a genius. mwah. π
ππΈ
π¦ where this page comes from
- ubuntu questing: llvm-14 1:14.0.6-20ubuntu3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms