Skip to content
/ ired Public

minimalistic commandline hexadecimal editor similar to radare

License

Notifications You must be signed in to change notification settings

radare/ired

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 21, 2021
a1fa790 · Mar 21, 2021

History

92 Commits
Mar 21, 2021
Jun 28, 2012
Jan 5, 2019
Sep 1, 2009
Mar 21, 2021
Feb 18, 2013
May 17, 2013
May 28, 2019
Jul 8, 2013
Mar 21, 2021
Jun 13, 2010
Oct 5, 2020
Oct 7, 2009
Mar 21, 2021
Mar 20, 2021
Sep 23, 2009
Jan 5, 2019
Mar 20, 2021
Dec 18, 2018
Oct 7, 2009

Repository files navigation

IRED stands for the independent raw editor

red aims to be a minimalistic reimplementation of the radare shell without much complexity and relaying all the extensibility to external applications trying to keep the source as small as possible.

AUTHOR

pancake<nopcode.org>

COMMANDS

? is for help   get help or evaluate numeric expression
/ search        search strings or hexpairs
!cmd            run command from shell
x hexdump       hexdump
X dword dump    hexpair dump
> file          dump current block to file
< file          slurp file into current block
w "string\x00"  write string
w 023839400     write hexpairs
b 30            set block size
s addr          seek address
r [size|-rmv]   get filesize, truncate file to size, or -remove bytes
p [bwWdDqQiIF.] print formatted the current block
q               quit

WORK IN PROGRESS

print command b/w/d/q byte, word, dword, qword (little endian) B/W/D/Q byte, word, dword, qword (big endian) i/I/f/F int32 (lil, big), float (lil, big) z/Z zero-terminatted strings (ascii, widechar) ./: skip 1 or 4 chars * repeat last value until death

PORTABILITY

ired is known to build and run on several OS.

  • GNU, Linux, OSX, Windows (mingw), cygwin, Solaris, BSD, ...

TODO:

  • support for escapped characters in string write and search ops
  • Add support for simple math ops (+,-,*,/) no parenthesis plz :)

TODO/TOTHINK

  • Remove '.' command? to make it suck less
  • Add .! command that runs !foo > file and then .file
  • Support for multiple commands in a single line (';' separator)