RZ-FIND(1)

πŸ“¦
version 0.8.2 Β· 3 versions
, in arch rolling, nixos 26.05

πŸ’– NAME πŸ’–

rz-find β€” Find byte patterns in files. Bestie, this is the whole RZ_FIND(1) manual, and it is literally here to help you find byte patterns in files. No cap.

✨ SYNOPSIS ✨

rz-find [-hijmnrqvxzZ] [-a align] [-b size] [-f/t from/to]
        [-[e|s|w|S|I] str] [-x hex] [-|file|dir ..]

🌸 DESCRIPTION 🌸

Okay so first thing: this command is part of the Rizin project β€” periodt. rz-find searches for the specified byte patterns, strings, or hexpairs in the given files. It's giving "where are those bytes hiding" main character energy, and we love that for you πŸ’…

πŸ’… The options are:

  • -a align β€” Only accept aligned hits. Alignment girlies, this one is for you ✨
  • -b size β€” Set block size. Pick your block size, bestie πŸŽ€
  • -e regex β€” Search for regex matches (can be used multiple times). Regex stans stay winning 😭
  • -f from β€” Start searching from address 'from'. Yes, from that address exactly.
  • -F file β€” Read the contents of the file and use it as a keyword. Iconic behavior, ngl.
  • -h β€” Show usage help message. The classic "help me bestie" button 🫢
  • -i β€” Identify filetype (rizin -nqcpm file). Literally a filetype vibe check πŸ’…
  • -j β€” Output in JSON. For the structured-data girlies ✨
  • -m β€” Magic search, file-type carver. Spooky little file-type carver behavior πŸ”₯
  • -M str β€” Set a binary mask to be applied on keywords. Mask on, mask off, you know how it is πŸŽ€
  • -n β€” Do not stop the search when a read error occurs. Keep going, bestie, even when reading gets messy 😭
  • -r β€” Print using rizin commands. Rizin-command-core fr fr.
  • -s str β€” Search for a specific string (can be used multiple times). Stack those strings, queen πŸ‘‘
  • -w str β€” Search for a specific wide string (can be used multiple times). Assumes str is UTF-8. Wide-string moment, no cap.
  • -I str β€” Search for an entry in import table. Import table sleuthing, iykyk πŸ¦‹
  • -S str β€” Search for a symbol in symbol table. Symbol table girlies rise 🌸
  • -t to β€” Stop search at address 'to'. That's the cutoff, bestie.
  • -q β€” Quiet mode - do not show headings (filenames) above matching contents (default for searching a single file). Shhh, it's giving stealth mode πŸ™ˆ
  • -v β€” Show version information. Version check, because we stay informed ⭐
  • -x hex β€” Search for an hexpair string (can be used multiple times). Hexpair hunting, let's go πŸ”₯
  • -X β€” Show hexdump of search results. Hexdump reveal, iconic πŸ’œ
  • -z β€” Search for zero-terminated strings. Zero-terminated string search, periodt.
  • -Z β€” Show string found on each search hit. Every hit gets its string moment ✨
  • -E command β€” Execute <command> for each file found. Do the thing for every file you find, bestie.

🫢 SEE ALSO 🫢

Go check out these other icons when you're done: rizin(1), rz-hash(1), rz-bin(1), rz-diff(1), rz-asm(1), rz-gg(1), rz-run(1), rz-ax(1). They're all in the group chat too 🫢

πŸŽ€ AUTHORS πŸŽ€

This page was brought to you by:

  • pancake <pancake@nopcode.org>
  • byteninjaa0

And that's the whole RZ_FIND(1) manual, dated Jan 24, 2024 β€” now go find those bytes, bestie πŸ’…πŸ¦‹βœ¨

πŸ“¦ where this page comes from
  • arch rolling: rizin 0.8.2-2 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC-PDDC AND CC0-1.0 AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND MIT
  • nixos 26.05: rizin 0.8.2
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms