DETOK(1)
π DETOK β the OpenBIOS detokenizer, section 1 of the general commands manual β¨
okay bestie, pull up a chair, grab a strawberry π, because today we're talking about detok. yes. the little icon that could. it lives in section 1 of the manual (general commands, the classic), and honestly? it's giving reverse-engineering queen π
π NAME π
detok β the OpenBIOS detokenizer. that's it. that's the name. short, sweet, slays.
π¦ SYNOPSIS π¦
detok [options] forth-file
yes, forth-file. lowercase, hyphenated, exactly like that. don't come for me, that's the spec β¨
πΈ DESCRIPTION πΈ
so. detok is an open-source FCode detokenizer for the OpenBIOS project, and it does the reverse function β like, the reverse reverse. it takes binary FCode and turns it into a form that can be read, for purposes of verification. it's the uno reverse card of the FCode world πβ¨
you feed it the binary, it hands you something human-eyeball-able. that's the whole vibe. lowkey iconic.
π OPTIONS π
here's the whole menu, no skips, no skimming, every single one. periodt.
-h,-?β print a brief help message and then exit. cute, quick, no notes π-v,--verboseβ print additional messages: the hex value of each token processed, as well as a signature block. basically it starts yapping and honestly we love that for it π£οΈβ¨-oβ display the positions of the tokens relative to the start of the first FCode block after a PCI header (if one is present), and the destination-offset of each branch.
and listen, the combination of the Verbose and Offsets options yields the maximum amount of useful information. that's the golden combo. the main character pairing ππ
-nβ display the sequential number of each line of output.
β οΈ heads up bestie: the-nand-ooptions are mutually exclusive. if both are specified,-owill be favoured. so-ngets sidelined. sorry to that option π
-aβ do not stop whenend0has been encountered. this option is usually not needed, but may be useful in cases where a file has been corrupted or when something very strange has been tokenized... ππ (yes, "very strange". we're all thinking it.)-fFCode-List-Fileβ pre-load additional FCodes before processing. these might be, for instance, a set of vendor-specific FCodes that were generated for a specific vendor's products by a tokenizer customized for that specific vendor. very niche, very specialized, very slay for that one vendor π
π SEE ALSO π
toke(1). the other half of the duo. the sibling. the counterpart. go say hi π«Ά
π AUTHORS π
- David L. Paktor
<dlpaktor@us.ibm.com> - This manual page was written by Aurelien Jarno
<aurel32@debian.org>for the Debian GNU/Linux system (but may be used by others). (yes, may be used by others β generous king energy π)
okay and finally, the little sign-off at the bottom of the page: this whole thing is dated May 15, 2007, and it's DETOK(1) β same title, same section, forever and always. no cap. bye bestie, go detokenize something π¦β¨π
π¦ where this page comes from
- debian bookworm: fcode-utils 1.0.2-8
- debian trixie: fcode-utils 1.0.3-2 Β· GPL-2.0-only
- ubuntu jammy: fcode-utils 1.0.2-8
- ubuntu noble: fcode-utils 1.0.2-8
- ubuntu questing: fcode-utils 1.0.3-2
- ubuntu resolute: fcode-utils 1.0.3-2build1 Β· GPL-2.0-only
- ubuntu stonking: fcode-utils 1.0.3-2build1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms