2009-04-02 00:07:58 +00:00
|
|
|
____ ___ ____ ___ ____ ___ ______ ____
|
|
|
|
| _ \/ \' \/ \ _ \/ _ \ \__ | / \
|
2010-06-23 01:33:41 +00:00
|
|
|
| < V . T . V < _/ .-' _/ | () |
|
2009-04-02 00:07:58 +00:00
|
|
|
|_|\__|_|__|___/|_|_|_|\__\___/ |_____(_)____/
|
|
|
|
|
2010-06-17 22:08:10 +00:00
|
|
|
|
2009-04-02 00:07:58 +00:00
|
|
|
<{include libr/TODO}>
|
2010-02-05 11:21:37 +00:00
|
|
|
|
2010-08-19 22:36:22 +00:00
|
|
|
Questions
|
|
|
|
=========
|
2010-09-23 18:42:35 +00:00
|
|
|
* in Visual Debugger mode cursor mode also scrolls O_o
|
2010-09-24 02:09:39 +00:00
|
|
|
* distribute 'spp' with 'rarc2' ?
|
2010-09-23 18:42:35 +00:00
|
|
|
* r2 -dls HANGS!!1
|
2010-09-08 23:39:15 +00:00
|
|
|
* rarc2 allows to compile invalid code like calling puts() out of context
|
2010-09-08 17:49:34 +00:00
|
|
|
* Add rabin2 .! calls into r_core api? r_core_rabin_import(core, "rIs") ?
|
2010-08-19 22:36:22 +00:00
|
|
|
|
2010-07-22 23:15:03 +00:00
|
|
|
0.6 RELEASE
|
2010-06-18 09:09:19 +00:00
|
|
|
===========
|
2010-09-24 02:09:39 +00:00
|
|
|
* Fix eflags string and str_bits
|
2010-08-16 15:48:47 +00:00
|
|
|
* Create radare2-testsuite project
|
2010-09-24 02:09:39 +00:00
|
|
|
- tests for ired, rax2, radare2, rabin2 ...
|
2010-07-11 22:50:00 +00:00
|
|
|
|
2010-08-16 15:48:47 +00:00
|
|
|
TODO nibble
|
|
|
|
-----------
|
2010-09-14 09:22:31 +00:00
|
|
|
* Cx/CX are not displayed in disasm as they should.. (C! must die)
|
2010-09-12 10:31:18 +00:00
|
|
|
* Better way to fix got_offset issue?
|
2010-09-10 09:11:38 +00:00
|
|
|
* use r_anal_value everywhere in r_anal
|
2010-09-05 19:20:56 +00:00
|
|
|
* make x86_x86im the default backend for x86 analysis
|
|
|
|
* implement analysis for more instructions in x86_x86im
|
2010-08-16 15:48:47 +00:00
|
|
|
* native fat bins support (push uncommited changes)
|
|
|
|
* diff code analysis
|
|
|
|
- diff two programs
|
|
|
|
1st level:
|
|
|
|
- check all functions EQUAL, DIFFERENT, REMOVED, ADDED
|
|
|
|
- check all symbols
|
|
|
|
- check all imports
|
|
|
|
- check all strings
|
|
|
|
2nd level:
|
|
|
|
- basic block level diffing (output in graph mode)
|
2010-09-24 02:09:39 +00:00
|
|
|
* big-ssl.c big-gmp.c ...
|
|
|
|
* implement GMP in util/big.c
|
|
|
|
- http://etutorials.org/Programming/secure+programming/Chapter+7.+Public+Key+Cryptography/7.5+Generating+a+Prime+Number+Testing+for+Primality/
|
2010-08-16 15:48:47 +00:00
|
|
|
|
2010-07-15 11:34:53 +00:00
|
|
|
TODO edu
|
|
|
|
--------
|
2010-08-10 10:34:10 +00:00
|
|
|
* Implement more get_main()
|
2010-07-21 23:32:30 +00:00
|
|
|
* typedef all function pointers, like in r_bp
|
2010-08-10 10:34:10 +00:00
|
|
|
* Implement /A : search AES
|
|
|
|
* Implement case-insensitive search (e search.casematters ?) any better name? Use /i?
|
|
|
|
* Implement /. to search using a file .. isnt zignatures about this?
|
|
|
|
* Implement /p to search for patterns
|
|
|
|
* Implement search and replace /s
|
2010-04-07 09:07:59 +00:00
|
|
|
|
2010-07-12 19:37:40 +00:00
|
|
|
TODO pancake
|
|
|
|
------------
|
2010-09-24 03:41:54 +00:00
|
|
|
* Add drd: debug regs diff:
|
2010-09-24 04:10:20 +00:00
|
|
|
- deprecate dro? why?
|
2010-09-24 03:41:54 +00:00
|
|
|
- [0xB78B5810]> !dregs
|
|
|
|
esp = 0xbff0b090 (0x00000000) eflags = 0x0292 (0x0000)
|
2010-08-22 22:48:44 +00:00
|
|
|
* Import r_vm register values from flags or from r_debug->r_reg
|
2010-08-22 15:56:50 +00:00
|
|
|
- r_vm must use mmu cache when emulating code
|
|
|
|
- use the one from r_io? and deprecate vm->mmu_cache?
|
2010-08-23 10:08:23 +00:00
|
|
|
* Record trace of register status for each function when running
|
2010-09-24 02:09:39 +00:00
|
|
|
- r_reg_arena_copy();
|
2010-08-19 18:28:25 +00:00
|
|
|
{
|
|
|
|
* Implement RAnalCall (analyze function arguments, return values, propagate types..)
|
2010-07-12 19:37:40 +00:00
|
|
|
- define number of arguments for given function
|
|
|
|
- warn if signature and analysis differs in number of args or so..
|
2010-08-24 09:58:09 +00:00
|
|
|
- when calling a function
|
|
|
|
- identify arguments passed and compare with arguments required
|
|
|
|
- if they do not match: we need to warn/ask user/store multiple options
|
|
|
|
- function signature comparsion if they dont match
|
|
|
|
r_anal_fcn_cmp (anal, f1, f2);
|
2010-08-19 18:28:25 +00:00
|
|
|
}
|
2010-07-12 19:37:40 +00:00
|
|
|
|
2010-07-13 08:56:56 +00:00
|
|
|
unassigned TODO pointz
|
|
|
|
----------------------
|
2010-08-26 10:18:30 +00:00
|
|
|
* Implement minimalist 'ar' and add support for .a archive libs? (not necessary in this life)
|
2010-07-22 23:15:03 +00:00
|
|
|
* Realign flags when using project in debug mode
|
2010-07-15 22:02:33 +00:00
|
|
|
* FileDescriptors: dd -- copy from !fd in r1
|
2010-06-28 23:18:30 +00:00
|
|
|
* Initial analysis looking for xrefs to strings and so? ax? ./a@@entry0 - Launched at startup
|
2010-06-28 12:12:34 +00:00
|
|
|
|
2010-06-17 00:22:50 +00:00
|
|
|
Bindings
|
|
|
|
========
|
2010-08-26 10:18:30 +00:00
|
|
|
* generate accessors from valaswig
|
2010-06-17 00:22:50 +00:00
|
|
|
* Script plugins
|
|
|
|
- We should enable r_lib to implement plugins in any
|
|
|
|
scripting language, so we can for example prepare
|
|
|
|
a .c stub interface for python/perl/ruby/..
|
|
|
|
- this requires a swig bridge
|
2010-03-25 20:14:28 +00:00
|
|
|
|
2010-06-17 00:22:50 +00:00
|
|
|
Refactoring
|
|
|
|
===========
|
2010-09-24 02:09:39 +00:00
|
|
|
* r_config set_int and so..simplify
|
2010-09-14 09:22:31 +00:00
|
|
|
* Merge r_vm into r_anal ?
|
|
|
|
* Merge r_vm into r_parse ?
|
2010-08-22 15:56:50 +00:00
|
|
|
* Merge r_socket inside r_util ?
|
|
|
|
* Add SSL support to r_socket ?
|
2010-08-19 18:28:25 +00:00
|
|
|
* Discuss missing r_core_sysenv_update in core/file.c:33
|
2010-07-15 22:02:33 +00:00
|
|
|
* Add RLog API.. pipeable to disk and stderr..also hookable ..cool for ui (partially done)
|
2010-06-17 00:22:50 +00:00
|
|
|
* Move disasm loop into r_print (r_print should depend on r_asm)
|
2010-06-21 09:55:48 +00:00
|
|
|
- thats hard :)
|
2010-06-18 15:52:30 +00:00
|
|
|
* Move 'r_syscall_t' stuff into r_debug (sync r_core)
|
2010-06-21 09:55:48 +00:00
|
|
|
* Implement r_bind api to link multiple pointers
|
|
|
|
core->asm = r_bind_set (core->asm->bind, r_asm_new ());
|
2010-06-18 15:52:30 +00:00
|
|
|
* what do we have to do with r_th, r_parse and r_vm ?
|
|
|
|
* Find a better name for r_buf_fread (really?)
|
2010-09-24 02:09:39 +00:00
|
|
|
* Review r_io and r_reg API
|
2010-06-21 09:55:48 +00:00
|
|
|
* semi-ok state (R_TRUFAE), implement r_errno and r_errstr in r_util?
|
2010-07-22 23:15:03 +00:00
|
|
|
- useful in r_sys_mkdir ?
|
2010-06-18 15:52:30 +00:00
|
|
|
* Finish and import the spp's getopt owns implementation in r_util (like in p9)
|
2010-08-16 15:48:47 +00:00
|
|
|
|
|
|
|
0.7
|
|
|
|
===
|
2010-09-24 02:09:39 +00:00
|
|
|
* Reimplement or fix the delta diffing in C
|
|
|
|
- first we need to do it for ired..
|
|
|
|
* Trace contents of buffers: filter search results..? cc 8080 @@ hit* .. check for values that has changed.
|
|
|
|
* Add dex format support to rabin (android)
|
2010-08-16 15:48:47 +00:00
|
|
|
* Is RCore->block and blocksize a RBuf ? refactor!11
|
2010-09-18 00:51:17 +00:00
|
|
|
* add support for sign/unsigned registers..or at least a way to cast them
|
2010-08-26 10:18:30 +00:00
|
|
|
* Implement rap:// upload/download protocol commands (maybe just system() with rsc2+wget?
|
2010-09-18 00:51:17 +00:00
|
|
|
* Add support for STATIC_PLUGINS in r_lang
|
|
|
|
- r_lang_define is implemented in lang.c, but requires the collaboration
|
|
|
|
of the plugins to properly setup the environment for the script execution.
|
|
|
|
- Add support for STATIC_PLUGINS in r_lang
|
|
|
|
- dlerror(/usr/lib/radare2/lang_perl.so): libperl.so: cannot open shared object file: No such file or directory
|
|
|
|
This issue is fixed by setting LD_LIBRARY_PATH...looks like dlopen ignores rpath
|
2010-09-24 02:09:39 +00:00
|
|
|
|
|
|
|
Build system:
|
|
|
|
-------------
|
|
|
|
* Store version information in libraries ? debian claims for it
|
|
|
|
* install.sh (to track installed files ..)
|
|
|
|
* acr -ldl check must be fixed for kfreebsd
|
2009-09-08 18:16:52 +00:00
|
|
|
|
2010-06-17 00:22:50 +00:00
|
|
|
Future
|
|
|
|
======
|
2009-02-09 11:42:54 +00:00
|
|
|
* radare2 -e dbg.engine=vm -d ls
|
|
|
|
- load the program using r_bin in virtual space
|
|
|
|
- initialize vm and set regs
|
|
|
|
- debug backend should use the vm
|
2010-06-28 18:30:20 +00:00
|
|
|
|
2010-07-12 19:37:40 +00:00
|
|
|
Transaction notes
|
|
|
|
=================
|
|
|
|
Loading big binaries results on broken interaction.
|
|
|
|
- Optimize bottlenecks
|
|
|
|
- Index flags by name and offset
|
|
|
|
- Dont walk all the entries all the time
|
|
|
|
- Use RDB or RHashMap
|
|
|
|
- Cache
|
|
|
|
- We can just cache the last N used pointers to resolve them faster
|
|
|
|
- Should work fine for disassembling and others
|
|
|
|
- Transactions and threads
|
|
|
|
- BIGLOCK is enought i think
|
|
|
|
- A background thread can load rabin info
|
|
|
|
- r_th is required
|
|
|
|
- We need a way to get 'status' info from thread (msg passing?)
|
|
|
|
- r_th_msg
|
|
|
|
- We can lock the loading thread when a shell command is going to be executed
|
|
|
|
|
|
|
|
|
|--- (while (prompt,lock,run,unlock))
|
|
|
|
\
|
|
|
|
`-- (while (lock,load,unlock))
|
|
|
|
|
|
|
|
|
2010-06-28 18:30:20 +00:00
|
|
|
.------------------------.
|
|
|
|
| ___ ___ ____ |
|
|
|
|
| | - ) _ _ | _ |/ _/ | please!
|
|
|
|
| | - \| | |\_ |\_ \ |___. report! :)
|
|
|
|
| |___/'___'|___'|___/ ___/
|
|
|
|
| |
|
|
|
|
`------------------------'
|