* Fix dup anal issue

* Added sys/farm/README
This commit is contained in:
pancake 2011-09-20 09:44:17 +02:00
parent 1b440bf9d2
commit fcf67d5cd2
5 changed files with 43 additions and 6 deletions

8
TODO
View File

@ -5,6 +5,10 @@
====[[ 0.9 ]]====
* r_anal_find_fcn() is O(N). should be O(1)
- var r = RHashTable<RList>()
var l = r.add ("0x8048000-0x8049000", new RList ())
l.append (ReferenceTo (fcn)
* Optimize /m
- search only using given file, not loading default library
- do not read each block byte per byte
@ -36,10 +40,6 @@
BOTTLENECKS:
============
* r_anal_find_fcn() is O(N). should be O(1)
- var r = RHashTable<RList>()
var l = r.add ("0x8048000-0x8049000", new RList ())
l.append (ReferenceTo (fcn)
* rabin2 -z /dev/sda1 TAKES TOO LONG. opening r2 /tmp/fs is SLOW as shit.
* Add -f/-t in rahash2 to define ranges
- Add support for large files in rahash2

View File

@ -120,6 +120,8 @@ R_API int r_anal_fcn(RAnal *anal, RAnalFcn *fcn, ut64 addr, ut8 *buf, ut64 len,
R_API int r_anal_fcn_insert(RAnal *anal, RAnalFcn *fcn) {
#if USE_NEW_FCN_STORE
r_listrange_add (anal->fcnstore, fcn);
// HUH? store it here .. for backweird compatibility
r_list_append (anal->fcns, fcn);
#else
r_list_append (anal->fcns, fcn);
#endif

View File

@ -233,7 +233,7 @@ R_API int r_core_anal_fcn(RCore *core, ut64 at, ut64 from, int reftype, int dept
}
// XXX: this looks weird
r_anal_fcn_insert (core->anal, fcn);
r_list_append (core->anal->fcns, fcn);
//r_list_append (core->anal->fcns, fcn);
r_list_foreach (fcn->refs, iter, refi)
if (refi->addr != -1)
r_core_anal_fcn (core, refi->addr, refi->at, refi->type, depth-1);

View File

@ -1,4 +1,4 @@
/* pancake // nopcode.org 2010-2011 -- arm emiter */
/* pancake // nopcode.org 2011 -- trace emiter */
#include <r_egg.h>
#define attsyntax 0

35
sys/farm/README Normal file
View File

@ -0,0 +1,35 @@
The sys farm
============
[ config ]
- project name
- script list
[ daemon ]
farm/r2/linux
farm/r2/osx
farm/r2/maemo
farm/r2/mingw32
farm/r2/mingw64
- find updates in src
[ build ]
- execute all build targets to generate output results
project/date-revision-buildtype
- out/r2/20110923-3948-linux.log
- dist/r2/20110923-3948-linux/radare2-r3948.tar.gz
[ dist ]
- generate distribution tarball, debian package or zip
[ push ]
- push -f to remove remote data?
- use rsync to upload build results
[ web ] - php?
- parse pushed results
- allow download of dist
- useful for snapshots
- grep for warnings
- count errors
- view build logs