Skip to content

Commit

Permalink
Use markdown in readme and update copyleft timestamps
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Feb 18, 2013
1 parent 36e027f commit bed1916
Show file tree
Hide file tree
Showing 8 changed files with 60 additions and 55 deletions.
50 changes: 0 additions & 50 deletions README

This file was deleted.

55 changes: 55 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
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)
File renamed without changes.
2 changes: 1 addition & 1 deletion bdiff.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* bdiff - MIT - Copyright 2010 pancake<nopcode.org> */
/* bdiff - MIT - Copyright 2010-2013 - pancake */
/* Adapted code from:
bdiff.c - efficient binary diff extension for Mercurial
Expand Down
2 changes: 1 addition & 1 deletion cmd.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyleft 2009-2010 -- pancake /at/ nopcode /dot/ org */
/* Copyleft 2009-2013 -- pancake /at/ nopcode /dot/ org */

static void cmd_hexdump(char *arg) {
int len = bsize;
Expand Down
2 changes: 1 addition & 1 deletion ired.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyleft 2009-2012 -- pancake /at/ nopcode /dot/ org */
/* Copyleft 2009-2013 -- pancake /at/ nopcode /dot/ org */

#define ut64 unsigned long long
#define ut8 unsigned char
Expand Down
2 changes: 1 addition & 1 deletion util.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyleft 2009-2010 -- pancake /at/ nopcode /dot/ org */
/* ired - Copyleft 2009-2013 -- pancake */

#include <ctype.h>

Expand Down
2 changes: 1 addition & 1 deletion vired
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
# vired: the visual raw editor
# copyleft: pancake at nopcode dot org @ 2009-2010
# copyleft: pancake at nopcode dot org @ 2009-2013

PATH=.:$PATH

Expand Down

0 comments on commit bed1916

Please sign in to comment.