Commit Graph

1112 Commits

Author SHA1 Message Date
pancake
57f2f1e4cf Fix 'e?..' command + random code cleanup 2013-03-03 01:11:44 +01:00
pancake
13bbde408a Fix #58 : Vvvq navigation 2013-03-01 17:48:35 +01:00
pancake
dc0c939008 Fix 'io' argument parse 2013-03-01 17:09:26 +01:00
pancake
3a0fdd6a24 Fix #55 and add Cj to list metadata in json format 2013-03-01 12:20:18 +01:00
pancake
4c244a818c Add 'Ch', handle c++ lang in rbin and obey cursor in V: 2013-03-01 09:57:30 +01:00
pancake
0fa2a74ac5 Add cmd.visual config var, show empty flag list in Vt 2013-02-27 01:40:26 +01:00
pancake
06787d0972 Fix 'ad' command (r_anal_data was broken) 2013-02-26 22:03:02 +01:00
pancake
0042752a08 Fix 'r_magic_free' definiton (thanks @tautschnig)
> The function magic_close has return type void, but x is of a pointer type.
> Yet the C standard requires that the second and third argument of the
> conditional operator ?: are both void or compatible pointer types (there
> are several other cases, see 6.5.15 of the C Standard). Failing this, the
> compiler may produce arbitrary code.
> The best way to fix this is likely changing the definition to
>  { if(x) {magic_close(x);} }.
2013-02-25 22:52:57 +01:00
pancake
5cd3b3f28b Remove useless debugging message 2013-02-25 11:48:38 +01:00
pancake
2264763336 Fix some bugs reported by clang-analyzer 2013-02-25 11:09:24 +01:00
pancake
fc6e799c26 Add pfD (disasm). Fix VI and Vi with+without cursor
Simplify r_print_string
Fix r_io write boundaries
2013-02-25 09:36:07 +01:00
pancake
25529090fe Add xxhash algorithm and add rahash2 -L 2013-02-25 03:23:13 +01:00
pancake
6ee9ea23c5 Fix search regression test 2013-02-25 02:46:41 +01:00
pancake
e17e5b6b05 Fix ';x' syntax commands 2013-02-25 02:35:16 +01:00
pancake
16bf36e55c Implement http.allow firewall rule
Fix socket transfer for http server
Shorter io descriptions for io_zip and io_gdb plugins
2013-02-25 01:47:55 +01:00
pancake
7fbe9071ce Add rasm2 -w to describe opcodes, fix massemble
Add rasm2 -w to get opcode description
Fix multiopcode/multiline comments parsing
Avoid multiple load when there are no sub-bins
Fix r_str_replace_char
2013-02-24 21:12:30 +01:00
pancake
e9c38878de Fix endian stuff in r_print 2013-02-22 21:05:08 +01:00
pancake
5225c95d18 Fix 'ad', 'a8' and add more test cases for x86/arm assemblers
Fix 'a8' command
Honor argument in 'ad'
Add more tests for x86 and arm assemblers
2013-02-21 11:31:04 +01:00
pancake
27643193f8 Fix segfault in java disassemler, and cleaner output. 2013-02-20 02:24:37 +01:00
pancake
770f556e9d Reverse walk all xrefs as a tmp fix the broken analysis (SLOW) 2013-02-13 17:54:20 +01:00
pancake
84270da643 Add randomart print mode (pk/pK commands and rahash2 -k)
Random code cleanup
Remove borders in webui/two
2013-02-12 02:42:34 +01:00
pancake
a436b496ad Fix off-by-one in 'pvj' 2013-02-11 11:28:27 +01:00
pancake
3bfa61946e Cleaner pvj, fix tinype load, and honor 'ao N's help
Fix TinyPE loading
'ao' arg is now number of opcodes, not bytes
'pvj' output is now cleaner
Random refactorings
2013-02-11 10:51:45 +01:00
pancake
36b3177d92 Lot of enhacements in the webui, add Cz
Code cleanup and fixes for 'afr'
WebUI (enyo) is much more usable now
New command 'Cz' as an alias for 'Cs len'
2013-02-11 04:08:21 +01:00
pancake
bab19e4164 Implement colorbar in webui, rename p% to pv 2013-02-10 03:18:20 +01:00
pancake
2fa48384ad Fix some bugs reported by clang-analyzer 2013-02-08 11:42:46 +01:00
pancake
af2d3de5b4 Code cleanup 2013-02-07 09:41:05 +01:00
pancake
c443ab1f30 Implemented 'p%' in api form. Handl p%h and p%j
Added json and histogram table p% views
Add ?B command to get boundaries (use api)
Rename ahA into ahs
2013-02-07 03:09:53 +01:00
pancake
febfb770bc Added http client shell, fixes in http server and random dev
Initial RCoreAnalStats
=h accepts ports argument for listening
'r' command now supports flags (thanks @earada!)
Added http mutex to avoid running more than one server
Added http.uri /cmd/ redirect
Added support for http remote shell
Enhacements in the r_socket_http api
Handle http:// uri in socket connections
2013-02-06 10:35:23 +01:00
pancake
db77c97df1 Add missing files 2013-02-01 10:44:05 +01:00
pancake
dc2690e529 Support get/set introspection in 'pf' and handle scr.stride in px
Rename pf$ to pf.
Add support for introspecting and setting named pf fields
Introspection supports get and set
Add scr.stride property for 'px'
Initial work on slist
Add judy arrays implementation (not integrated)
2013-02-01 03:15:48 +01:00
pancake
f37df0d2c6 Fix fatmach0 extract when unknown files are inside
Fix segfault in java class header parser
Fix help message of 'wt' command
2013-01-29 19:39:41 +01:00
pancake
05a2d60270 Fix r_io section load for big binaries (hello chromium!) 2013-01-29 14:56:57 +01:00
pancake
2bcee70f41 Fix r_num_irand(), add pI command, support http.port=0 as random 2013-01-25 03:47:09 +01:00
pancake
1f6174c6ae Better webui, 'pi' counts opcodes and remove /new and htmlgraph
pi honors number of instructions, not bytes
Remove htmlgraph and lungo webui
More work on the enyo webui
2013-01-25 03:22:09 +01:00
pancake
1c93e8a727 Better webui, fix segfault in ag, add agj for json graphs
More work on the webui
New 'agj' command to get function graphs in json
Fix segfault in 'ag' command
'agv' now launches the internal http server
Initial refactoring for RAnalHint integration into RCore
Add basic mime-type support in the http server
Enhace the graph view style
2013-01-24 03:48:24 +01:00
pancake
d82c53224f Fix w32 build 2013-01-23 14:50:50 +01:00
pancake
4ffa7952a2 Fix segfault in DEX parser, remove more r_print refs 2013-01-23 01:53:32 +01:00
pancake
2365918652 Fix slow ELF loading and add anal hints support to projects
Fix slow ELF loading when shstr section was huge
Added 'ahj' command to list anal hints in json
Add 'ah*' and use it from r_core_project
Fix 'i*' command
2013-01-22 18:08:33 +01:00
pancake
fc9301b14b Add hints and named print formats and more
Initial implementation of anal hints (ah?)
Use anal hints in core/disasm. Needs more work
New data structure StrHT (string hashtable)
Simplify core/libs.c with cpp macros
Added r_cons_color() wip function for ansi256 consoles
RPrint no longer depends on r_cons
Sort 'a?' help commands
Add support for named print formats with pf$ command
Add support for 64 bit string pointers in 'pf' ('S')
Add r_print_mute and r_print_format_length functions
Bump r2 nodejs bindings version number
Merge r_print into r_util
2013-01-22 05:06:12 +01:00
pancake
18ff639bd6 Add 'fj' and 'fsj' commands to show json instead of blocks 2013-01-17 03:29:46 +01:00
pancake
a4c8b96e20 Added 'fj' command, multiple @ per command and more
Support multiple @ for a single command (define offset+bytes)
Add 'fj' command to show flags in json format
Use monospaced font in vdoc
More work on the webui
2013-01-16 12:17:14 +01:00
pancake
5656505e79 Draft anal_hint. Fix build and fix build (armass.c)
Minor update in the enyo $webui
2013-01-13 03:19:32 +01:00
pancake
60a951e9b1 New io.buffer cache system and refactorized RHashTable
Implement io.buffer for fast IO (work in progress)
Rewrite util/cache.c and use it form io/buffer.c
Refactor util/ht.c and util/ht64.c to reuse code
Various minor fixes in RIO api
cache.c must be rewritten into r_buf for
2013-01-12 04:29:45 +01:00
pancake
8879796427 Fix 'dr*' command 2013-01-10 18:20:36 +01:00
pancake
aed2fd9aa5 Apply zlul's enhacements for html.sh 2013-01-04 14:51:21 +01:00
pancake
3635f85336 Better http support and handle asm.offset in 'px'.
Implement dirlisting in http
get in /up/. Honor asm.offset in 'px'.
Fix r_file_root and crosspath vuln in http server
2013-01-04 10:16:41 +01:00
pancake
35808e31f8 Add io.zeromap to toggle old buggy mode doublemapping file to 0
Add http.maxsize to define the maximum file size to be uploaded
Add http.upget config var (not yet implemented)
2013-01-03 01:43:23 +01:00
pancake
a8a4c5e3e8 Initial implementation of http.upload (disabled by default)
Open http://localhost:9090/upload.html to upload
curl -F file=@/bin/ls http://localhost:9090/up/ls.bin
Tested on 10MB files without problems
Default upload directory is $TMPDIR
2013-01-03 00:47:58 +01:00
pancake
3fb4c7dd5e Use encodeURI in r2.js and implement http upload support 2013-01-02 18:37:48 +01:00