Skip to content

Commit bed1916

Browse files
committed
Use markdown in readme and update copyleft timestamps
1 parent 36e027f commit bed1916

File tree

8 files changed

+60
-55
lines changed

8 files changed

+60
-55
lines changed

README

Lines changed: 0 additions & 50 deletions
This file was deleted.

README.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
IRED stands for the independent raw editor
2+
==========================================
3+
4+
red aims to be a minimalistic reimplementation of the radare shell
5+
without much complexity and relaying all the extensibility to external
6+
applications trying to keep the source as small as possible.
7+
8+
AUTHOR
9+
------
10+
pancake<nopcode.org>
11+
12+
COMMANDS
13+
========
14+
15+
? is for help get help or evaluate numeric expression
16+
/ search search strings or hexpairs
17+
!cmd run command from shell
18+
x hexdump hexdump
19+
X dword dump hexpair dump
20+
> file dump current block to file
21+
< file slurp file into current block
22+
w "string\x00" write string
23+
w 023839400 write hexpairs
24+
b 30 set block size
25+
s addr seek address
26+
r [size|-rmv] get filesize, truncate file to size, or -remove bytes
27+
p [bwWdDqQiIF.] print formatted the current block
28+
q quit
29+
30+
31+
WORK IN PROGRESS
32+
================
33+
print command
34+
b/w/d/q byte, word, dword, qword (little endian)
35+
B/W/D/Q byte, word, dword, qword (big endian)
36+
i/I/f/F int32 (lil, big), float (lil, big)
37+
z/Z zero-terminatted strings (ascii, widechar)
38+
./: skip 1 or 4 chars
39+
* repeat last value until death
40+
41+
PORTABILITY
42+
===========
43+
ired is known to build and run on several OS.
44+
- GNU, Linux, OSX, Windows (mingw), cygwin, Solaris, BSD, ...
45+
46+
TODO:
47+
=====
48+
- support for escapped characters in string write and search ops
49+
- Add support for simple math ops (+,-,*,/) no parenthesis plz :)
50+
51+
TODO/TOTHINK
52+
============
53+
- Remove '.' command? to make it suck less
54+
- Add .! command that runs !foo > file and then .file
55+
- Support for multiple commands in a single line (';' separator)
File renamed without changes.

bdiff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* bdiff - MIT - Copyright 2010 pancake<nopcode.org> */
1+
/* bdiff - MIT - Copyright 2010-2013 - pancake */
22
/* Adapted code from:
33
44
bdiff.c - efficient binary diff extension for Mercurial

cmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyleft 2009-2010 -- pancake /at/ nopcode /dot/ org */
1+
/* Copyleft 2009-2013 -- pancake /at/ nopcode /dot/ org */
22

33
static void cmd_hexdump(char *arg) {
44
int len = bsize;

ired.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyleft 2009-2012 -- pancake /at/ nopcode /dot/ org */
1+
/* Copyleft 2009-2013 -- pancake /at/ nopcode /dot/ org */
22

33
#define ut64 unsigned long long
44
#define ut8 unsigned char

util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyleft 2009-2010 -- pancake /at/ nopcode /dot/ org */
1+
/* ired - Copyleft 2009-2013 -- pancake */
22

33
#include <ctype.h>
44

vired

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
# vired: the visual raw editor
3-
# copyleft: pancake at nopcode dot org @ 2009-2010
3+
# copyleft: pancake at nopcode dot org @ 2009-2013
44

55
PATH=.:$PATH
66

0 commit comments

Comments
 (0)