Commit graph

1117 commits

Author SHA1 Message Date
pancake
4c1ae2ccfd Enhace and fully integrate the new main webui panel
* Some random goods for the tiled webui
* Fixed /p tabs width issue
* Add rlogo button on all of them to jump back to main panel
* Main panel allows to manage projects, open files and select ui
2015-01-23 01:18:13 +01:00
Alvaro Muñoz
6e9a9c7bb7 webui. add index2.html initial screen 2015-01-22 22:20:04 +01:00
pancake
6c8a0e7125 Update capstone with some ARM fixes 2015-01-21 13:50:55 +01:00
Alvaro Muñoz
1754a87e66 webui fixes 2015-01-20 23:46:53 +01:00
pancake
546d5d2070 Disable monotonic clock in sdb to fix build on some linux distros 2015-01-20 21:44:23 +01:00
pancake
4e2153c966 update sdb to fix non linux nor windows builds 2015-01-19 22:08:18 +01:00
pancake
05e1b556f8 Generate asm/d/mips and update sdb from git for 0.9.4 2015-01-19 18:48:53 +01:00
jvoisin
abd2fb5179 Some coverifix 2015-01-15 23:52:56 +01:00
Alvaro Muñoz
022b35e182 extend svg 2015-01-14 02:02:37 +01:00
Alvaro Muñoz
13f2f8cf7c Add console to enyo 2015-01-14 02:02:37 +01:00
pancake
f4926851f4 * Bump capstone-next 2015-01-13 13:37:06 +01:00
Alvaro Muñoz
9dd85a30c6 removed tmp icon 2015-01-13 11:53:12 +01:00
Alvaro Muñoz
5f71fc7187 webui minimap improvements and /p layout 2015-01-13 11:53:12 +01:00
jvoisin
a8937732b8 Fix all 'warning: function declaration isn’t a prototype [-Wstrict-prototypes]' 2015-01-13 03:40:35 +01:00
pancake
0c103cf923 Add http.ui config var to select WebUI (p, t, enyo) 2015-01-13 02:22:20 +01:00
pancake
d904da5364 Uglify and jsfmt the /p (1.3MB -> 600KB) 2x speedup in page load
Reduce disasm range to speedup loading too
2015-01-13 01:44:39 +01:00
Alvaro Muñoz
456a9c1fdf fix tabs in ff 2015-01-13 00:26:13 +01:00
pancake
abe9a34def Add contextual menu to change colors in disasm, Add rlogo on topbar 2015-01-13 00:14:02 +01:00
pancake
68bb69e205 Enable colors in p/ui console, fix some glitches in the webui graph 2015-01-12 23:44:18 +01:00
Alvaro Muñoz
7c3fc2283a add 'm' to help 2015-01-12 22:28:39 +01:00
Alvaro Muñoz
68949b63f0 webui minimap improvements 2015-01-12 22:28:39 +01:00
pancake
75c322b613 Add bin.lang, rabin2 -D and iD commands to demangle from commandline
- Fix some warnings in windbg
- Minor fix for ARM analysis (wip)
2015-01-10 01:00:01 +01:00
pancake
826477db9a Update capstone and transplant io.ewf to the r2e repo 2015-01-09 16:21:47 +01:00
Alvaro Muñoz
d1489f9b6a fix dead ends 2015-01-08 23:37:48 +01:00
Alvaro Muñoz
1088986701 color fixes 2015-01-08 23:37:48 +01:00
Alvaro Muñoz
e1f2b73066 fixed colors 2015-01-08 23:37:48 +01:00
Alvaro Muñoz
9736790d27 persisit positions, BB color marks 2015-01-08 23:37:48 +01:00
Alvaro Muñoz
7d4bd380d1 bye viz.js, hello joint.js 2015-01-08 23:37:48 +01:00
pancake
1afd12e89b Remove yara (moved to radare2-extras). Installable via sys/yara.sh 2015-01-03 02:21:49 +01:00
fenugrec
025fe0325a git clone --depth 1 for sdb,R2R,udis86 2015-01-01 13:05:41 +01:00
pancake
9829b0981c Add 'ccd' and 'cud' to compare disasms in column and unified modes 2015-01-01 12:45:05 +01:00
pancake
be275471d7 Bump capstone to fix 0x82 x86 ops and some ARM BLX ones 2014-12-30 09:27:31 +01:00
Julien Nabet
6ed942ef05 cppcheck: fix memory leaks 2014-12-28 17:20:03 +01:00
pancake
2ecb3edfb4 Bump sdb fixing two memleaks and a close(-1) 2014-12-28 12:54:55 +01:00
pancake
1c6547d6d8 Fix #1889 - Update sdb to fix a segfault in sdb_sync (thanks zlul!) 2014-12-28 04:18:48 +01:00
pancake
581f20d654 Bump capstone-4.0 adding support for some undocumented instructions 2014-12-26 19:05:25 +01:00
Alvaro Muñoz
1aa40b4aa9 fixes bugs in webui and adds holdTap to enyo view 2014-12-23 21:34:19 +01:00
pancake
43b4a996ce Fix shm crash and update sdb 2014-12-22 03:24:36 +01:00
pancake
ef69adb7f4 Better relocs in disasm and support reloc resolution by ordinal on PE
- Include OLEAUT32 and WS2_32 ordinal-symbol tables
2014-12-21 04:18:56 +01:00
pancake
c886531195 Implement 'ko' and 'kd' to open/dump Sdbs, Helpers for PE ordinal symbols 2014-12-21 00:55:38 +01:00
Alvaro Muñoz
c295e33c70 fix #1825 2014-12-19 20:52:16 +01:00
pancake
f95d2ddd92 Update capstone (merges rex branch into next) 2014-12-19 16:50:35 +01:00
pancake
5c8277cbf0 Update capstone 2014-12-19 14:15:58 +01:00
pancake
64e9254b82 Fix #1840 - Fix formating for type Java CP values 2014-12-18 01:54:04 +01:00
Alvaro Muñoz
73980bf617 Disasm fixes, fix backward disasembly, make pdj not behave as pDj 2014-12-18 00:29:31 +01:00
pancake
9c802db2c7 Properly update capstone 2014-12-17 00:24:07 +01:00
pancake
6b2761f653 Update capstone fixing x86 slowdown issue 2014-12-16 23:58:56 +01:00
pancake
65b580dbfc Fix #1833 - AFL crash in r_bin_java_read_next_attr_from_buffer 2014-12-16 22:36:53 +01:00
Alvaro Muñoz
0332d8d332 Add var renaming in webui and fix various bugs
- Fix missing spaces when show_functions and not in function
2014-12-16 13:31:53 +01:00
Sébastien Duquette
e45a8a3a0b fix for issue #1834, handle NULL pointer return value from r_bin_java_read_next_attr_from_buffer() 2014-12-16 00:09:27 +01:00
pancake
cace7101e5 Fix warnings in RCons and update sdb 2014-12-14 01:56:55 +01:00
pancake
82342bb0ca Update capstone to fix the ARM64 branch disassembler/analyzer 2014-12-12 15:26:47 +01:00
pancake
1a65e14627 Update capstone and fix some ARM64 analysis issues (still buggy) 2014-12-12 13:48:42 +01:00
pancake
cd6e60ae34 Update sdb from git, fixing some crashes 2014-12-12 01:38:27 +01:00
pancake
c18781fec4 Update SDB from GIT 2014-12-11 11:10:19 +01:00
Alvaro Muñoz
db09c38b9d Improve colors in webui and fix ans256 to rgb
- added fname and fdelimiters in disasm views
- fix r2 ansi256 to rgb conversion
- clean color string, no leading whitespaces, trash anything after color
2014-12-10 21:47:46 +01:00
pancake
0c91c7df62 Fix several bugs in the windbg and cris. thanks to coverity 2014-12-09 17:50:19 +01:00
Alvaro Muñoz
dc5da0898b Fix #1732 and #1735 - uses 'ec gui. and ai.' prefixes 2014-12-08 23:48:42 +01:00
pancake
85631e7104 Fix build on OSX, fix warnings in shlr/wind and handle asm.cpu and asm.syntax for asm.cris 2014-12-08 23:38:13 +01:00
jvoisin
db28d502d0 Fix some stupid warnings 2014-12-08 00:59:29 +01:00
pancake
0076289dbe Bump for capstone again 2014-12-07 20:08:30 +01:00
pancake
8bdea8eea3 Fix several build issues to make crosscompilation and w32 happy 2014-12-07 20:05:24 +01:00
pancake
59d2bb69a6 Fix static build 2014-12-07 19:45:43 +01:00
LemonBoy
3b9164c04c Initial WinDBG support 2014-12-07 19:32:45 +01:00
Alvaro Muñoz
00bb060365 added xrefs to webui context menu, improved history widget(clickable, flar resolution), improved css 2014-12-07 17:24:19 +01:00
Jeffrey Crowell
ed1aae7fd1 fix lots of spelling
fix some errors from the sed script

undo file mode crap
2014-12-07 17:00:59 +01:00
Alvaro Muñoz
cbdf4d051b fix #1731 and #1733. Remove all workarounds for the agj non structured output, and fixes some minor bugs 2014-12-05 13:44:55 +01:00
pancake
06402eae5f Fix clang buildfarm compiler error 2014-12-03 22:57:38 +01:00
Alvaro Muñoz
aa759f674d refactor of symbols menu, new entropy panel, refactor of string and setting panel in their own js 2014-12-03 22:41:51 +01:00
Alvaro Muñoz
94cb42da4c changing context menu options to disable renaming on symbols and relocs 2014-12-03 19:54:59 +01:00
Alvaro Muñoz
fe856f6d49 improvements on renaming functions from left panel and renaming different types of flags 2014-12-03 19:54:59 +01:00
Alvaro Muñoz
e8c2cfb193 minor color changes 2014-12-03 02:09:38 +01:00
Alvaro Muñoz
f77c495caf new panel layout and improved responsiveness in enyo+ff 2014-12-03 02:09:37 +01:00
pancake
a683c1dbd7 Fix coverity issues with ROP search and more pic flags for lollipop
Update capstone to fix all ARM tests
2014-11-27 10:01:30 +01:00
Alvaro Muñoz
8249fa31a8 add help button and popoup; fix scroll to after renaming 2014-11-25 23:54:47 +01:00
Alvaro Muñoz
5284a715d4 remove console logs; add support for complex beziel curves 2014-11-25 21:04:01 +01:00
pancake
64711c90dc Bump capstone fixing bug in ARM 2014-11-25 14:30:20 +01:00
Alvaro Muñoz
082c77683c load settings on main.js 2014-11-25 12:59:18 +01:00
Alvaro Muñoz
d0fd14fad3 New webui views 2014-11-25 12:59:07 +01:00
pancake
c2a4e6b473 Update capstone 2014-11-24 03:31:07 +01:00
pancake
23776435a2 Fix #1714 - Add ~{} and ~{}.. RCons filters for JSON indentation 2014-11-22 01:51:51 +01:00
pancake
c2770de2b8 Fix #1667 - Fix --with-syszip 2014-11-22 01:15:47 +01:00
pancake
119e0fbc65 Avoid warning in sdb makefile 2014-11-19 22:50:54 +01:00
Julien Nabet
e20728ec15 cppcheck: fix 1 'else if' cond matches previous cond + test indice before using it 2014-11-16 18:13:06 +01:00
pancake
ab1c7df80f New commands 'afm' and 'Vdj' (to merge two functions) WIP
* Update SDB from Git
2014-11-15 02:08:00 +01:00
pancake
f8586e686d Update SDB and remove wip sdb helpers from core-anal 2014-11-14 15:49:34 +01:00
pancake
6cc99f3fc4 Update capstone from git 2014-11-13 17:25:06 +01:00
pancake
a8023c7b6f Bump for 0.9.9-git 2014-11-12 23:14:18 +01:00
pancake
68cbdcfe06 Fix #1664 - Cross reference not found by capstone analysis 2014-11-11 01:12:38 +01:00
pancake
1d598cb926 Update capstone for sparc branches 2014-11-10 16:57:05 +01:00
pancake
af8326bd3d Use capstone by default for POWERPC and do some more fixes in anal 2014-11-10 16:22:09 +01:00
pancake
1bfc2e29ee Update capstone to fix x86-16 issue 2014-11-10 14:18:11 +01:00
pancake
9cf541c582 ELF parser is now fuzzer-proof 2014-11-10 05:02:25 +01:00
pancake
ef88363fc9 Update capstone 2014-11-10 02:57:25 +01:00
pancake
850309a7e9 Initial support for android-aarch64 2014-11-10 01:54:05 +01:00
pancake
61ef0707eb Handle the latest MIPS asm.cpu variants from Capstone 2014-11-09 17:18:33 +01:00
pancake
479f31ee8f Update capstone again 2014-11-08 13:22:49 +01:00
pancake
7af9bf009a Fix some more crashes for the Java CLASS and XBE RBin parsers 2014-11-05 02:09:00 +01:00
pancake
151cbf4d9b Fix some more out of buffer accesses in the java class parser 2014-11-05 01:43:23 +01:00
pancake
dd131e15d0 Fix stack exhaustion bug in Java class parser 2014-11-05 01:31:33 +01:00
pancake
e93b0727c2 Fix crash in Java CLASS parser 2014-11-05 01:21:05 +01:00
pancake
05e9a49bd4 Update capstone to get proper inmediates for binary ops on x86 2014-11-04 11:56:51 +01:00
trndr
83ad35e39a Try to implement MIPS gdb reg profile 2014-11-04 02:17:35 +01:00
pancake
741e1ba797 Update capstone to get the negative delta disasm issue on x86 2014-11-02 18:45:55 +01:00
pancake
3f16c42bf7 Fix segfault in core/io and update capstone 2014-11-01 22:23:11 +01:00
pancake
8e29c0ef9d Initial implementation of the & command. Bump capstone 2014-11-01 04:46:33 +01:00
pancake
67c3b050b6 Update sdb from git 2014-10-29 15:37:04 +01:00
pancake
a2c3647ad0 Somewhat better BoostJam support 2014-10-26 02:47:08 +02:00
Anton Kochkov
e0b20554ec Try to implement ARM32 gdb reg profile 2014-10-23 20:32:22 +04:00
Anton Kochkov
179dab57ec Fix GDB for ARM 2014-10-23 17:40:32 +04:00
pancake
8ec5e4ae94 Fix r2.js to be used from duktape 2014-10-23 04:45:01 +02:00
pancake
5201f772f8 Add UPX linux signature for Yara. Force to use yara 2.1 in sys/yara.sh 2014-10-21 02:06:22 +02:00
pancake
8e8bf631bf Update capstone to use the new X86_PREFIX defines 2014-10-20 14:48:25 +02:00
pancake
7c152282a8 Use latest Capstone (Fixes relative branch on PPC and SPARC) 2014-10-16 10:19:37 +02:00
pancake
42232354a7 Add 'ai' - address info, Enhace 'ad' (support patterns and sequences)
- ai shows: exec,read,write,flag,func,stack,heap,reg
- Add r_reg_regset_get()
- Implement r2.cmdj in r2.js
2014-10-15 02:24:22 +02:00
pancake
c9754da05f Initial support for function declarations in Cparse (loaded into sdb) 2014-10-14 11:55:02 +02:00
pancake
13e504fd60 Use more SDB into rsyscall module 2014-10-13 05:02:24 +02:00
pancake
514b120a94 Fix a read-out-of-bounds bug in the java class parser 2014-10-09 14:05:31 +02:00
pancake
8a3b127fb4 Fix crash in Java class parser (thanks Joxean) 2014-10-09 13:56:27 +02:00
pancake
5a3d3253cd Fix #1419 - wrong mips esil for LW 2014-09-25 00:47:43 +02:00
pancake
e950ab1859 Update capstone to get some mips goodies 2014-09-24 15:20:08 +02:00
pancake
12a2ff6788 Bump capstone for non-signed addresses 2014-09-23 12:25:38 +02:00
pancake
09a43efc8d Reimplemented and working RAnalFcnLocal as RAnalFcnLabel in Sdb 2014-09-23 09:37:21 +02:00
pancake
f7eee65067 Bump for cs-v3-rc1 2014-09-22 17:10:45 +02:00
pancake
342ff7ba4f Bring back the anal vars (wip), Fix Vvg, and VJK with screen boundaries 2014-09-22 13:45:36 +02:00
pancake
1306653d4a Working with 'afa' and 'afv' again. Updated sdb for some goodies 2014-09-22 04:22:47 +02:00
pancake
196cfd0534 Initial major cleanup of the RAnal module 2014-09-22 01:39:24 +02:00
pancake
d6aeae624f Implement te,tb,tk and pf E, pf B to handle enum and bitfields 2014-09-21 01:39:18 +02:00
deeso
55fe0a9e9a Added command that 'bruteforces' the parsing of a class file in a blob of data 2014-09-20 19:46:21 +02:00
jvoisin
86c3d0e70f Fix some trivial coverity issues 2014-09-20 15:56:34 +02:00
pancake
4c4173769b Revert "Fixing the issue where file size exceeds size of an integer":
3adb00621b
e2afa84443
0761955fdb
17cc18fad0
135c62fb5d
2014-09-20 15:33:59 +02:00
pancake
240e0d98a9 Fix some warnings 2014-09-20 10:13:48 +02:00
pancake
13d905c7a7 Update capstone from git 2014-09-20 09:50:36 +02:00
Adam Pridgen
135c62fb5d Fixing *most* warnings related to the change in r_file_slurp 2014-09-17 22:37:54 -05:00
defragger
fdceb6373c fixes the 16bit issue, we still need to improve the performance here 2014-09-16 16:07:16 +02:00
pancake
da4563aa5e Update capstone 2014-09-16 05:53:23 +02:00
Josef Gajdusek
1632dee3a8 www: Escape HTML entities in the List Elements menu
This commit adds HTML escaping to strings displayed in rightmenu.js.
Previously, malicious binary could incorporate Javascript code in one of its
strings and attack the web interface.
2014-09-15 22:58:00 +02:00
pancake
1e46aa3fff Bump sdb from git again 2014-09-14 03:15:42 +02:00
deeso
f3ff9caa14 Java unmangling lacked a 'short' type. fixed 2014-09-13 18:19:34 -05:00
pancake
27a75a52ef Update sdb: Fix heap overflow in json_indent 2014-09-14 00:32:58 +02:00
pancake
b73ad255e8 Do not use stdint 2014-09-13 17:47:56 +02:00
deeso
083394175c Adding JSON output for the java prototypes
- Created a simple JSON string builder lib so its
  easier to build the JSON strings.
- Fixed errors and missing symbols on Mac Build
2014-09-13 17:37:11 +02:00
pancake
8110fefc9f Implement aek, aef, Add scr.responsive, esil.status and esil.romem config vars
- Features scr.responsive
- Fix a bug in rarun2 when using a profile
- Update sdb to fix another null deref
2014-09-11 04:18:23 +02:00
pancake
9bb326a10b Bump capstone from git 2014-09-10 18:11:32 +02:00
pancake
7fde96ea63 Add some header structs for MACH0 and fix some for ELF (rabin2 -rk '' related) 2014-09-08 12:20:50 +02:00
pancake
5652b25b11 Update sdb 2014-09-06 03:27:22 +02:00
pancake
d66f667046 Enhace tiled webui with auto-refresh buttons and console 2014-09-02 01:54:28 +02:00
Anton Kochkov
b7c49d8c4c Fix symstall for mingw32 and cygwin 2014-09-01 19:18:23 +04:00
pancake
734d22f214 More fixes for mingw32 2014-09-01 15:25:32 +02:00
pancake
d8d972b15b Bump capstone for more mips fixups and aim to fix sdb build 2014-09-01 14:08:02 +02:00
pancake
663d7c1bc3 Update sdb. Fixing native mingw32 in theory 2014-09-01 11:44:57 +02:00
Anton Kochkov
118bb4ea84 More Mingw32 cleanup 2014-08-31 20:19:43 +04:00
pancake
3d4990afcd Bump for cs-git-v3 (fixes a bug i reported today) 2014-08-29 18:52:03 +02:00
pancake
b6133a9710 Bump capstone-v3 2014-08-29 12:30:14 +02:00
condret
549a10c55d avoid git bitching around 2014-08-29 00:50:51 +02:00
pancake
24e6111f1e Fix crashes related to sdb 2014-08-28 22:35:34 +02:00
pancake
4ea683ba34 Initial background thread for the webserver (=h& and =H&) 2014-08-28 12:08:46 +02:00
pancake
14629fed36 Fix r2.js webui with 'l'->'T' 2014-08-28 03:48:43 +02:00
pancake
84521c91d6 Update capstone 2014-08-27 03:54:32 +02:00
pancake
492cecdcb9 Bump sdb for an ns fix 2014-08-25 01:30:13 +02:00
pancake
cda3d9c44b Update sdb and workaround all sdb finalization issues until proper fix is done in Sdb 2014-08-25 01:10:10 +02:00
jvoisin
5416d89739 Revert "Use latest capstone-v3"
This reverts commit 4554ebe3d6.
2014-08-19 14:47:33 +02:00
pancake
4554ebe3d6 Use latest capstone-v3 2014-08-19 12:04:04 +02:00
pancake
be4b0d1258 Fix 'oo' on 'r2 -d' in OSX 2014-08-18 18:06:27 +02:00
pancake
6e79f127be Fix build on OSX 2014-08-16 11:49:35 +02:00
pancake
f52df29799 Update capstone from git, theorically fixing some bugs in MIPS and sysz 2014-08-15 23:01:48 +02:00
Anton Kochkov
ab1a7e992b Fix Mingw32 building, again 2014-08-15 16:51:51 +04:00
defragger
eb300a5412 adds setting and removing breakpoints for gdb remote 2014-08-15 03:35:56 +02:00
pancake
b717518f8f Fix some warnings 2014-08-15 02:04:20 +02:00
deeso
684b459c20 Bug in the code flipped jump and case value of the switch op, remove dangling in_switch key, and add a formal "case" op-type
and changed some strings back to "static" from "R_API"
2014-08-13 03:12:23 +02:00
jvoisin
bcbeb3c066 Fix some gcc warnings 2014-08-11 16:07:17 +02:00
pancake
66befa8bec Handle array as argument for cmd() in r2js api 2014-08-11 00:33:05 +02:00
Jody Frankowski
300cc95512 Clean and compress packers.yara 2014-08-10 21:37:01 +02:00
Jody Frankowski
c54e6af9d4 Rename yara rules files 2014-08-10 21:37:01 +02:00
pancake
78570590dc Add reverse resolution for cmd_types 2014-08-10 15:52:00 +02:00
pancake
f79fcadc12 Sync with sdb-git 2014-08-08 21:33:07 +02:00
pancake
cb5d7afb38 Fix 'aoj' and update r2.js for nodejs integration 2014-08-08 13:50:16 +02:00
pancake
71aa477291 Fix another issues in json/query for Sdb 2014-08-07 03:50:39 +02:00
pancake
610868a5f9 Update sdb, fixing crash in : query 2014-08-07 00:19:32 +02:00
jvoisin
c813901698 Fix a bunch of grub coverity issues 2014-08-04 02:28:08 +02:00
jvoisin
7bc61c81ef Fix last tcc coverity warn 2014-08-04 02:09:01 +02:00
pancake
38a32bd207 Update capstone pre-v3 2014-08-01 11:40:40 +02:00
jvoisin
bdc6752899 Another batch of coverifix 2014-07-30 23:48:12 +02:00
jvoisin
975daf00f5 Coverifix 2014-07-30 22:26:13 +02:00
pancake
5e791cc740 Add r2plugin hook 2014-07-30 12:21:16 +02:00
jvoisin
6b5176e0a8 Fix another batch of coverity issues 2014-07-28 21:58:44 +02:00
jvoisin
8fdfefb080 Fix coverity issues (and some PE tests \o/) 2014-07-24 02:05:17 +02:00
jvoisin
431ba75557 Fix some coverity issues 2014-07-21 23:14:25 +02:00
pancake
7e06e13b3b Fix #1133 - gdbr warnings, and some other 2014-07-21 18:19:31 +02:00
pancake
0c763e274d Bump capstone to v3 branch. fixes 'into' x86-64 issue 2014-07-21 17:30:03 +02:00
pancake
3a88c7e668 Fix crash in dwarf parser and update sdb to fix a crash 2014-07-21 14:47:09 +02:00
pancake
6412539ba7 Fix #1130 - Disassembly view on Graphs is onelined 2014-07-21 01:16:54 +02:00
pancake
af4e3336da Update capstone from git 2014-07-21 00:52:42 +02:00
Anton Kochkov
ff79d1e2a0 Fix mingw/cygwin detection in shlr 2014-07-18 18:31:03 +04:00
pancake
c4d2e91508 Fix -fPIC build issue on non-mingw32/cygwin 2014-07-18 15:18:09 +02:00
pancake
41785d3c01 Bump sdb from git again 2014-07-18 15:03:57 +02:00
Anton Kochkov
efccd05dc3 Remove fPIC for sdb on mingw/cygwin 2014-07-18 16:12:33 +04:00
pancake
9266a3ae87 Fix capstone build on mingw32 2014-07-18 09:03:51 +02:00
pancake
b1423e5782 Update Sdb from git, provides some optimizations 2014-07-17 20:54:52 +02:00
Jody Frankowski
8ea01cb9f8 Add tags in crypto|packers.rules 2014-07-17 10:36:14 +02:00
pancake
15312da46b Fix w32 build 2014-07-17 10:34:53 +02:00
pancake
42215d3610 %hhx is not supported by mingw32 2014-07-17 10:30:31 +02:00
defragger
dde49da67c Adds the use of r_socket implementation 2014-07-17 09:45:00 +02:00
pancake
cac402ef63 Update sdb fixing some coverity warns 2014-07-12 00:25:58 +02:00
pancake
34a9db2d45 Bump sdb from git with some new features 2014-07-11 00:49:35 +02:00
Anton Kochkov
c8b313c1bf Fix detection of CYGWIN and MINGW32 in shlr/grub 2014-07-10 21:22:40 +04:00
pancake
2d721d583c Fix build on linux-x86-64 (must test on mingw32/cygwin) 2014-07-10 11:45:51 +02:00
pancake
217ed225ea Bump capstone from git 2014-07-10 11:35:13 +02:00
Anton Kochkov
445dde9ba8 More improvements for cygwin and mingw32 building 2014-07-10 02:21:41 +04:00
jvoisin
d4b22dbaf7 Fix some coverity warnings 2014-07-09 16:05:19 +02:00
defragger
b87c35ee64 adds the ability to write registers 2014-07-08 09:05:41 +02:00
pancake
ac9399a9f8 Remove some items from TODO and update Sdb to fix segfault in 'k ***' 2014-07-04 10:36:37 +02:00
pancake
d328957768 Update sdb to fix '***' and add r_asm_get_plugins 2014-07-03 00:03:01 +02:00
pancake
9368fc7253 Bump capstone again and fix some warns 2014-07-02 17:14:32 +02:00
pancake
07465f6746 Update capstone fixing segfault in arm32 disasm 2014-07-02 03:16:09 +02:00
pancake
7c3f3cc1d6 Build capstone with -g 2014-07-02 02:57:18 +02:00
pancake
f0c58df2e8 Update capstone-next to get some x86 disasm fixes 2014-06-30 02:01:47 +02:00
pancake
a9907ec4f5 Fix udis86 regression
$ rasm2 -o 0x100005f8f -a x86 -b32 -d e800000000
call 0x5f94

$ rasm2 -o 0x100005f8f -a x86.cs -b32 -d e800000000
call 0x100005f94
2014-06-27 03:34:23 +02:00
pancake
994d2089e8 Fix FreeBSD build (thanks JR!) 2014-06-26 14:17:35 +02:00
Anton Kochkov
17b07d4623 Remove -fPIC for cygwin builds - stage 2 2014-06-25 21:32:03 +04:00
pancake
daab3440ca Ignore cygwin hints for capstone 2014-06-25 14:42:13 +02:00
Anton Kochkov
f365dd9d26 Fix Cygwin building 2014-06-25 14:41:21 +02:00
pancake
097cd2b04b Fix android build 2014-06-25 04:57:41 +02:00
pancake
18cc1af08c libr_java must be PIC 2014-06-25 04:50:05 +02:00
pancake
b3b5bfe8f3 Minor fix 2014-06-25 04:33:42 +02:00
pancake
046b014dee Make bin/core java plugins use libr_java.a 2014-06-25 04:25:38 +02:00
pancake
1a3ffef8b4 Fix static build 2014-06-25 04:11:43 +02:00
pancake
377b5bb2fe Clean a huge list of warnings 2014-06-25 02:07:38 +02:00
pancake
ed008f24ab Bump sdb 2014-06-25 01:22:18 +02:00
pancake
42aeb0d271 Add --with-syscapstone configure flag 2014-06-24 12:48:29 +02:00
pancake
112693b82a Update colors.html 2014-06-24 01:18:31 +02:00
pancake
ea070d136e Bump another capstone from git 2014-06-19 17:24:37 +02:00
pancake
a857888ab4 Bump capstone from git 2014-06-19 01:53:07 +02:00
pancake
f6f62cd871 Bump capstone (with merged optimized branch), must re-test tab regression 2014-06-17 10:30:14 +02:00
pancake
db05de4513 Add orange-gray theme (ogray). Move doc/r2theme to shlr/www/enyo/colors 2014-06-14 03:53:35 +02:00
pancake
cd9b648385 Use cs-next again, should fix the tab thing 2014-06-13 10:38:46 +02:00
pancake
4da0a0d831 Update capstone from git 2014-06-12 10:29:46 +02:00
pancake
b788deac00 Fix latest coverity issues
CID 1221463
CID 1221462
CID 1221461
2014-06-07 11:23:14 +02:00
pancake
4f2b18ab91 Update sdb 2014-06-07 02:52:13 +02:00
pancake
8ddc053be9 Update sdb 2014-06-05 23:59:58 +02:00
pancake
9a752e2d52 Update to latest capstone from git 2014-06-02 17:24:52 +02:00
pancake
bb16d1737c Add initial XCore capstone disassembler and code analysis plugins 2014-05-27 23:08:59 +02:00
pancake
374e88c167 Do not git pull capstone on dist tarballs 2014-05-26 12:16:36 +02:00
pancake
8c0ed5a6ee Update capstone and embed it into the 'make dist' tarball 2014-05-25 03:58:58 +02:00
jvoisin
cd07e58b10 Fix CID 1134611 2014-05-22 12:57:03 +02:00
pancake
7c709ff79a Fix 64bit tcc issue with enum32 on clang (trash init) 2014-05-22 12:37:21 +02:00
pancake
e2f93f7d5f Use -O2 for ios-sdk 2014-05-22 02:29:09 +02:00
pancake
29ee197638 Optimize RMeta.add() and bump sdb for updated optimizations 2014-05-22 02:15:26 +02:00
pancake
2f3eb06d87 Update capstone tip 2014-05-21 16:22:59 +02:00
pancake
a1224b2156 Refactor rva > vaddr and offset > paddr.
That change may make mixing vaddr and paddr more visible
2014-05-21 03:18:00 +02:00
pancake
302d4c245c Show pe.seh value in 'sdb' 2014-05-20 01:53:14 +02:00
pancake
ea0c2caa59 Add sys/ios-sdk build scripts 2014-05-17 04:41:33 +02:00
Anton Kochkov
12037a14aa Fix CID 1214298 2014-05-17 03:44:05 +04:00
pancake
48d3cfe017 Fix udis86 64bit jump immediate regression issue 2014-05-15 23:39:19 +02:00
pancake
5f5cbde791 Fix more 68k bugs and doesnt git pull capstone 2014-05-15 20:13:47 +02:00
Anton Kochkov
6dfb761448 Fix CID 968205 2014-05-15 05:04:41 +04:00
pancake
08e9247bf8 Use capstone-next from git 2014-05-15 01:36:04 +02:00
pancake
587c5f51c2 Implement MACH0- crypto and UUID inside Sdb bin/<fd>/info 2014-05-14 05:48:03 +02:00
pancake
eeaa5ffd60 Fix aarch64 gdbr profile and update sdb 2014-05-12 17:07:27 +02:00
pancake
e9f820d17f Bump sdb 2014-05-12 10:44:19 +02:00
pancake
962ac8d307 Fix all java warnings 2014-05-12 10:16:15 +02:00
pancake
bd82919761 Iinitial warning cleanup 2014-05-12 04:06:40 +02:00
jvoisin
c1e8e6f2ec Fix CID 1213702 2014-05-11 15:19:01 +02:00
jvoisin
1127afe31d Fix CID 1134853 2014-05-10 21:16:51 +02:00
jvoisin
d140947319 Fix CID 1191320, 1191321, 1191322, 1191323, 1191324, 1191325, 1191326, 1191327, 1191328, 1191329 2014-05-10 02:26:20 +02:00
pancake
216c183b6e Remove tons of useless 'if (x) free (x)' 2014-05-09 17:40:28 +02:00
jvoisin
28ce76db49 Fix CID 1134669 2014-05-09 01:34:16 +02:00
jvoisin
02f6097a18 Fix CID 1108515 2014-05-09 01:34:16 +02:00
jvoisin
55c92cc642 Fix CID 715926 2014-05-09 01:34:16 +02:00
pancake
b52be45418 Fix pe parser issues spotted by corkami tests 2014-05-09 01:22:06 +02:00
pancake
4c50cbe5a3 Remove all MAKE_JOBS references 2014-05-09 01:09:09 +02:00
Giovanni Condello
e0c8d18986 Unbroken capstone-build from git 2014-05-08 01:48:49 +02:00
Jody Frankowski
3ff35276bb Fix -Wformat warnings. Use ut64 instead of uint64_t where needed. 2014-05-08 02:12:20 +04:00
pancake
d138f61816 Add r_num_as_string() in '?' and in disasm as comments 2014-05-07 02:51:04 +02:00
nobody@no.org
32afcd8215 Fixed some ref/xref issues.
Add refs for conditional jumps.

Fixed issue with saving of refs/xrefs to projects

Fixed determination of jump target's enclosing function

Reenabled display of jump target's enclosing function for condition jumps.

Fixed another issue with call refs introduced earlier.
2014-05-06 03:02:39 +04:00
pancake
f5d611984f Fix yara-symstall and update sdb 2014-05-05 04:17:16 +02:00
jvoisin
bc8fb000c9 Fix CID 1134594
And add a check to prevent NULL dereference
2014-05-03 16:28:24 +02:00
jvoisin
aa6476afdf Fix CID 1135136 2014-05-03 16:17:13 +02:00
pancake
44f43eb42b Use MAKE_JOBS in more places 2014-05-03 01:23:12 +02:00
deeso
8802b42ca0 removed some unused variables, and grouped unused functions which happen to be used by different components 2014-04-30 20:42:05 -05:00
jvoisin
b161587c20 Fix CID 1134853 2014-04-30 20:35:49 +02:00
deeso
4dbc9916e8 Fix double assignment. 2014-04-29 23:38:35 -05:00
jvoisin
eb63086670 Add some crypto rules for Yara 2014-04-30 02:25:55 +02:00
jvoisin
59e8a21a66 Add a default bundle of yara rules 2014-04-29 00:09:20 +02:00
deeso
ce7f33480e fixing warnings (not the unused ones) in various files 2014-04-28 12:58:35 -05:00
pancake
b49195f2df Fix lot of warnings 2014-04-28 11:53:22 +02:00
deeso
f5310ee921 Fixed Java warnings relating to parameters not being void * for free functions 2014-04-25 20:34:19 -05:00
deeso
5f6f8064d9 Fixed some issues in bin/dwarf.c and Fixed 1205194, 1205193, 1205192, 1205202, 1205203, 1205204, 1205205, 1205209, 1205208, 1205207, 1205206 2014-04-25 15:14:57 -05:00
pancake
fee19ad875 Bump SDB fixing some ns issues 2014-04-23 03:27:50 +02:00
deeso
dd07844436 Fixing some Null Dereference Bugs courtesy of coverity 2014-04-22 18:39:17 -05:00
Adam Pridgen
ea94ae5c2c Fix CID: 1204243, 1204247, 1204246, 1204245, 1204244 2014-04-20 23:55:50 -05:00
deeso
e1378efd69 in shlr/java/code.c changing BYTES_CONSUMED 'volatile' to 'static volatile' 2014-04-20 17:28:02 -05:00
deeso
98e5d1af93 Fixing a bug, where the BYTES_CONSUMED in the java analysis was not updated 2014-04-19 22:45:03 -05:00
deeso
1ccd783649 Fixing: CID 1204077, CID 1204078, CID 1204079, CID 1204082, CID 1204081, CID 1204080 2014-04-19 18:11:13 -05:00
pancake
170e2051ff Fix w32 build 2014-04-18 17:18:48 +02:00
pancake
61fba34835 Add 'iA' command to list all archs (sub-bins) 2014-04-18 12:10:38 +02:00
pancake
cf2e5799a9 Update to latest sdb 2014-04-16 06:26:47 +02:00
Adam Pridgen
a88218dd16 updating the way prototypes are created 2014-04-14 00:58:15 -05:00
Adam Pridgen
7cd412f6c9 Fix coverity issues and small bug in interfaces
Change the java references are presented in lcr
2014-04-13 23:49:00 -05:00
pancake
49d8270a91 Fix zlul crash in sdb 2014-04-11 00:40:30 +02:00
pancake
10f2439c5d Update sdb and fix #777 - pxq and pxw honors cfg.big_endian 2014-04-10 19:18:21 +02:00
Adam Pridgen
c3048100e2 Fixing coverity defects 2014-04-09 09:51:55 -05:00
Adam Pridgen
af800c4b1b fix to wen because the size caused an incorrect allocation 2014-04-08 17:47:26 -05:00
Adam Pridgen
0853afc78e added some preliminary stuff to enable more point based hooking by appending cp object
to the end of the cp array.  added method and field offsets attributes to sections
2014-04-08 11:19:29 -05:00
pancake
5091fa0887 Fix segfaults and minor changes in m68k disasm + anal, webversion is not 2014-04-06 03:29:29 +02:00
Adam Pridgen
75043c88f3 added java command to print out the exception table 2014-04-05 04:12:56 -05:00
Adam Pridgen
b182b23b40 fixing the following coverity issues, which entails the issue with print and most of the java issues:
1196398, 1196403, 1196402, 1196401, 1196400, 1196413, 1196415, 1196414, 1196411
2014-04-05 00:39:17 -05:00
Adam Pridgen
aea7766d96 Fixed replace cp classname code, and added code to guard against too much fail if the java file is mangled 2014-04-05 00:10:25 -05:00
Adam Pridgen
d4657446d9 Adding code to check the end of buffer 2014-04-04 23:16:17 -05:00
Adam Pridgen
61ccb44890 Fixing more memory leaks in java/class.c 2014-04-04 22:26:58 -05:00
Adam Pridgen
35984ef8a6 Adding default values if imports cant be resolved 2014-04-04 20:29:08 -05:00
Adam Pridgen
0f1cb60b2d Fixed an off-by-one write bug, but need to fix the class replacement function 2014-04-04 09:39:04 -05:00
Adam Pridgen
1110265678 Eliminated most of the memory leaks caused by class file parsing 2014-04-03 22:16:28 -05:00
Adam Pridgen
3048a34783 Trying to fix mem-leaks, and allow updating of bin object infos 2014-04-03 14:04:07 -05:00
Adam Pridgen
94bcf930ee fixed a bug that unnecessailry deleted the constant null type 2014-04-03 02:03:20 -05:00
Adam Pridgen
9d6556cf93 References in code works 2014-04-03 00:12:32 -05:00
pancake
eb4373e325 Update sdb (add -j), fix static link builds 2014-04-03 04:04:03 +02:00
pancake
9cb435b407 Update to capstone 2.1.2 2014-04-03 03:33:17 +02:00
Adam Pridgen
d876dec7ee Adding java command to help identify external calls, reads, and writes 2014-04-02 17:02:23 -05:00
pancake
dbda9f5fb8 Fix ns-free null deref 2014-04-02 10:03:33 +02:00
Adam Pridgen
3fb12cddd1 fixed a bug in the annotations parsing and interfaces parsing 2014-04-01 19:45:44 -05:00
pancake
b417f655da Update Sdb, adding refcounting and some coverity fixes 2014-04-02 01:32:18 +02:00
Adam Pridgen
6bc694f873 Added colorization to pdn and added a dead code warning if all the bytes in a method are not consumed during analysis. 2014-04-01 16:22:56 -05:00
pancake
5c32779d52 Workaround doublefrees until we get refcounting in Sdb 2014-04-01 04:03:48 +02:00
Adam Pridgen
494e329d92 fixed bug for creating utf8 summary (thanks valgrind) 2014-03-31 15:52:03 -05:00
Adam Pridgen
9f8d8b7b2e Adding a print summary for the class file, and revamping how summary dumps string content 2014-03-31 15:35:47 -05:00
Adam Pridgen
85d7d8a11d Fixing a typo, using the wrong buffer 2014-03-31 10:35:18 -05:00
pancake
f288cb811b Better r2048, more random refactoring for anal sdbization 2014-03-31 04:42:55 +02:00
pancake
bc344eea1d Add r2048 game in V! command. Initial sdbization of fcn vars 2014-03-31 03:06:45 +02:00
Adam Pridgen
7bee007b9c Class name replacement works 2014-03-30 14:04:15 -05:00
Adam Pridgen
a7bcdcab01 Adding class replacement 2014-03-28 21:06:26 -05:00
Adam Pridgen
fe0628fd14 Fixed java attribute readding bug 2014-03-28 20:56:07 -05:00
pancake
d9dee42384 Bump sdb and fix hints with newer sdb stack api 2014-03-29 02:49:49 +01:00
pancake
818e6666b5 Bump sdb. fixes some memleaks and overflows 2014-03-29 00:39:51 +01:00
Adam Pridgen
6a50f55834 Fixing some of the coverity issues 2014-03-28 12:17:23 -05:00
pancake
a18a8748f3 Fix enum64 for windows 2014-03-28 16:22:41 +01:00
Fedor Sakharov
6a13979535 Support 64 bit enum values in tcc.
Fixes #209.
2014-03-28 11:12:00 +04:00
Adam Pridgen
478d642434 Adding a command to shift blocks 2014-03-26 22:41:31 -05:00
pancake
d3af1ea077 Fix #723 - header guards conforming to C standards 2014-03-27 02:32:26 +01:00
pancake
13fb09ee5f Update sdb from git and sync base64 fixes 2014-03-26 23:17:40 +01:00
Adam Pridgen
d0b9a6c023 Refactored java code. Now bins can be reloaded from buffers (in theory) 2014-03-26 14:35:42 -05:00
pancake
609122eac9 Update to sdb 0.9 (array api changes) 2014-03-26 04:16:03 +01:00
pancake
7a47a7c29c Some fixes for RLang plugins 2014-03-26 01:34:32 +01:00
Adam Pridgen
c343ac5cab tweaking java parsing to enable class file structure modifications 2014-03-25 13:10:11 -05:00
Adam Pridgen
09fa5cf10c Added extend to io support, now files can be extended, b00y4! 2014-03-24 22:57:36 -05:00
Adam Pridgen
f724b74fa7 Adding search and replace for CP Constant Values like UTF8, ints, longs, floats, and doubles: 2014-03-23 23:06:33 -05:00
pancake
fad24ba146 Remove some warnings and unused code 2014-03-21 12:28:34 +01:00
pancake
44a0774069 Bump sdb from git (fix some memleaks) 2014-03-19 03:17:28 +01:00
Adam Pridgen
9f468a3c2d fixed the java *_info c to name and count the methods and fields 2014-03-17 21:30:39 -05:00
pancake
10b901736e Fix linux reloc issue in link stage 2014-03-18 02:37:38 +01:00
pancake
92c5d8513b Refix link 2014-03-18 02:21:52 +01:00
pancake
31b8c6f377 Fix shared build 2014-03-18 01:51:36 +01:00
pancake
6a835f159d Fix static link 2014-03-18 01:36:54 +01:00
pancake
b1b02fba8e Fix linkage of RCoreJava plugin 2014-03-18 00:55:26 +01:00
Adam Pridgen
11b1cab8f5 Added some commands to print summary information for methods and fields, and added a
FUNC_META symbol for Java Method attribute.  This will report meta information for a
given method.
2014-03-17 02:14:38 -05:00
Adam Pridgen
62445c5e98 Adding java command plugin and moving the functionality out of the anal/p/anal_java.c code
Added functions to print information about CP Objects and read/write access flags
2014-03-16 22:32:18 -05:00
jvoisin
ea2363d926 Fix some coverity issues 2014-03-16 00:16:43 +01:00
Adam Pridgen
b464851707 reduced the Java R_API footprint and fixed some other java related stuff 2014-03-15 15:18:45 -05:00
pancake
48966d7af3 Bump capstone to 2.1.1 + dont check https cert 2014-03-15 01:59:16 +01:00
pancake
57fcf95fbe Update sdb to fix close(-1) issue 2014-03-13 11:18:51 +01:00
pancake
35ece5c6ab Fix uninitialized variables in sdb 2014-03-12 17:08:57 +01:00
pancake
fb98bc1335 More sdbization for comments and hints (-250LOC) 2014-03-12 02:44:49 +01:00
pancake
73a46d574c SDBize and refactor Anal-Hints, still unfinished 2014-03-11 02:47:10 +01:00
pancake
cae8209c1c Update sdb fixing null deref in sdb_ns 2014-03-10 16:57:03 +01:00
pancake
051d1bd54b Update SDB from git 2014-03-10 02:42:19 +01:00
pancake
00b81f636f Fix infinite loop in make clean 2014-03-10 00:33:29 +01:00
pancake
ce49c47e92 Indentation cleanup and add missing license header to libgdbr 2014-03-09 17:33:08 +01:00
pancake
e3b77a26ee Update return value of sdb_foreach callbacks 2014-03-08 01:06:31 +01:00
pancake
784a1d2a72 Import radare2-capstone asm/anal plugins 2014-03-07 04:15:45 +01:00
pancake
99cd0fee14 Fix librgdbr makefiles and add capstone-sync shlr target 2014-03-07 02:00:27 +01:00
pancake
bb7958342b Deprecate RPair API and ?k. Use SDB and integrate it with 'k' 2014-03-07 01:26:11 +01:00
pancake
086fc30e3b Update sdb to fix disk sync and sdb_foreach 2014-03-06 03:42:28 +01:00
pancake
b001eed6bb Update sdb for an array iteration optimization 2014-03-06 02:31:31 +01:00
pancake
ee3a397302 Bump sdb with some more fixes 2014-03-06 01:05:52 +01:00
pancake
7634b8ca77 Bump sdb and fix possible segfault in elf 2014-03-06 00:39:54 +01:00
pancake
b48153d88f Update sdb, adds support for SdbFmt, fixes segfault in sdb_encode 2014-03-05 23:45:09 +01:00
pancake
c8b18c5597 Nest some SDBs and make them accessible via 'k' command 2014-03-05 03:52:42 +01:00
pancake
d664e7b7de Initial SDBization of RAnalMeta... 2014-03-04 12:23:52 +01:00
pancake
d1dd21ea9e Fix statically link of libgdbr 2014-03-03 19:09:40 +01:00
pancake
ffa6f94ff2 Fix linkage of gdbr on w32 2014-03-03 18:57:21 +01:00
pancake
43698310e4 Fix new shlr/gdb linkage 2014-03-03 18:28:08 +01:00
defragger
bf7d50156f added implementation that uses libgdbr
Signed-off-by: defragger <rlaemmert@gmail.com>
2014-03-03 17:19:33 +01:00
defragger
0404623595 added libgdbr sources to shlr folder
Signed-off-by: defragger <rlaemmert@gmail.com>
2014-03-03 17:19:29 +01:00
pancake
c9a33998b7 Bump sdb with sdb_array fixes 2014-02-24 11:57:02 +01:00
pancake
f42e1d6401 Update sdb to fix array_pop issue 2014-02-23 18:47:22 +01:00
pancake
aa555443db Fix sdb-dump related regressions (unquoted strings) 2014-02-22 03:01:12 +01:00
pancake
5f11916d28 Bump sdb fixing disk storage issue 2014-02-22 00:20:00 +01:00
pancake
d25cafe4d4 Check Java version in RBin's check(), cleanup (-44LOC) 2014-02-22 00:19:16 +01:00
pancake
235307f736 Bump sdb from git (fix memleak and adds bool api) 2014-02-21 11:00:56 +01:00
Adam Pridgen
a99cbddeaa Fix CIDS: 1182007 1182008 1182009 1182016 1182015 1182014 2014-02-20 23:51:53 -06:00
pancake
25809a0887 Fix some warnings and indentations 2014-02-20 03:08:12 +01:00
pancake
1124818bee Bump sdb 2014-02-20 02:33:04 +01:00
pancake
9634cc7a44 Fix too much memory usage in analysis (thanks saelo)
- Clear some warnings
- Implement Vc. to seek to cursor instead of entry0
2014-02-20 02:11:04 +01:00
Adam Pridgen
f6ac1f8d9b Fixing the coverity issues for java 2014-02-19 15:09:16 -06:00
pancake
ec637cbee0 Add missing sdb_array_string() definition which caused segfault in 64bit 2014-02-19 17:57:20 +01:00
pancake
95bf944330 Bump sdb from git to fix some issues 2014-02-19 17:31:35 +01:00
Adam Pridgen
0efd93c57a Added Constant Pool Retrieval to anal_java command extension 2014-02-18 23:11:07 -06:00
Adam Pridgen
8f72843498 Refactoring java constant pool resolution 2014-02-18 22:29:03 -06:00
pancake
12dc36ce23 Sync with sdb 0.8.rc1 - lot of api changes 2014-02-19 05:02:59 +01:00
Adam Pridgen
4a2363fa9d Fix uninitialized var 2014-02-18 21:34:02 -06:00
Adam Pridgen
5b731da686 Adding Java types to the anal types sdb 2014-02-18 00:36:19 -06:00
pancake
99787f07a7 Bump sdb fixing signed and numeric base issues 2014-02-18 03:03:42 +01:00
pancake
04826d8064 Some fixes to sync cparse with latest sdb 2014-02-18 01:59:40 +01:00
pancake
f1c2397636 Bump sdb from git again 2014-02-18 01:35:28 +01:00
Adam Pridgen
e0b605e939 Added command in anal_java to calculate access flags values 2014-02-17 11:01:23 -06:00
pancake
dfe39a0af8 Bump sdb (new query syntax changes) 2014-02-17 02:12:41 +01:00
Anton Kochkov
19d6993256 Fix C89 building of udis86 plugin 2014-02-17 02:45:53 +04:00
Anton Kochkov
59651353dc udis86: Fix 16-bit jump offset decoding 2014-02-17 02:30:36 +04:00
Anton Kochkov
b81aaf3a30 Use our own fork of udis86. Update it 2014-02-17 02:13:27 +04:00
Zach Riggle
36518d2ae6 Fix clang build (unicode characters outside of literals) 2014-02-15 20:47:46 -05:00
Adam Pridgen
0d82276a11 turn off debugging 2014-02-15 16:19:27 -06:00
Adam Pridgen
94d49d4065 Fixed writes/reads based on improper buffer size and array length values 2014-02-15 16:17:15 -06:00
Adam Pridgen
27674ad03e Fixed Java crashes and case statements for anal and print disasm by adding
a reset_counter (added to RAnalPlugin) or reset method address at the beginning
of each print disasm or analysis.  Also fixed a bug in reflines.c/disasm.c,
s.t. lines will be respected when printing disasm.
2014-02-15 09:42:14 -06:00
pancake
6d04a5ebec Fix #624 - ar- segfaults 2014-02-14 03:43:27 +01:00
pancake
2d8110ec97 Bump sdb 2014-02-14 03:02:23 +01:00
pancake
1f6ee6d546 Fix #608 - Vv endless read #608 2014-02-08 12:09:12 +01:00
pancake
8b40a53080 Update sdb from git and fix 'test.cparse' 2014-02-08 03:09:03 +01:00
pancake
6b5b31a498 Update sdb from git to fix some memleaks in sdb_query() 2014-02-07 03:36:54 +01:00
pancake
59c33060af Update sdb 2014-02-06 02:31:57 +01:00
pancake
7e28ca265d Bump sdb and add some more fortunes 2014-02-05 16:36:03 +01:00
jvoisin
e6dfa898d1 Coverifix: overflows and uninitialized vars 2014-02-05 11:52:35 +01:00
pancake
a8926f9209 Fix few more coverity warns, bump sdb and drx android build 2014-02-04 15:41:36 +01:00
pancake
9565830426 Bypass (comment) valgrind issue 2014-01-12 02:21:38 +01:00
pancake
e421d5bb56 Bump sdb to fix memleaks 2014-01-31 18:26:11 +01:00
pancake
1f1367382b Add 'aos' to sdb-ize the esil, file.suppress_warnings renamed to file.nowarn 2014-01-31 02:02:51 +01:00
pancake
a42c809984 Bump sdb again 2014-01-31 00:40:10 +01:00
pancake
27534580a1 Bump sdb again 2014-01-30 23:45:30 +01:00
pancake
a910c315f6 Sync fix from sdb 2014-01-30 22:47:02 +01:00
pancake
b26b058e68 Update sdb from git 2014-01-30 17:29:46 +01:00
pancake
5f14f7290b Add --with-syszip configure flag to use system libzip+libz instead of shlr/zip 2014-01-30 01:45:08 +01:00
Adam Pridgen
d74e10e13b Fixed the many load so that when switching priority, offset is updated to the current bin. TODO: save offset when changing priority 2014-01-26 01:29:17 -06:00
pancake
91d0df5bb8 Fix testsuite (thanks dso for pointing out) 2014-01-24 20:22:16 +01:00
pancake
271824e65e Fix two minor warnings 2014-01-24 11:53:04 +01:00
pancake
473cd8953d ax -> afr ; more cleanup, add ark 2014-01-23 02:31:51 +01:00
pancake
5ff6065335 Bump for new sdb 2014-01-23 01:56:35 +01:00
Adam Pridgen
51a27ab1cc Coverity Fixes 2014-01-22 16:58:23 -06:00
Adam Pridgen
7c8ffcd259 Fixed a bug in the ops interpretation 2014-01-21 21:20:38 -06:00
Adam Pridgen
4c2fd70e49 Corrected the double value derivation 2014-01-21 20:38:43 -06:00
pancake
fe6a8471d1 tiled webui keybindings are now working on chrome 2014-01-21 05:02:51 +01:00
pancake
3b3e44361e Add maximized and custom frames options in new tiled webui 2014-01-21 03:05:27 +01:00
Adam Pridgen
b7961ef00a coverity fixes 2014-01-18 22:53:03 -06:00
pancake
71d38bf238 Add tiled wm 2014-01-18 05:14:32 +01:00
Adam Pridgen
413411258d Fixed compile error in shlr/java/main.c and added offsets of class components in the class definition listing 2014-01-14 22:20:31 -06:00
deeso
b5eb1d1ae5 Added preliminary concept for analysis plugin cmd ext, implements a basic dump of class imports, fields, and method definitions. 2014-01-14 20:34:30 -06:00
pancake
9f0d7e44d3 Fix some issues reported by coverity 2014-01-15 01:56:28 +01:00
pancake
6368594942 Update sdb and dummy handle () in esil 2014-01-15 01:23:10 +01:00
pancake
a34f3d5434 Fix #534 - segfault when loading some ELF, MACH0 and PEs 2014-01-14 03:48:38 +01:00
pancake
c0e1c9f1d9 Update SDB from git 2014-01-14 02:57:21 +01:00
Adam Pridgen
c3d551c024 Adding #%d in place of WTF for more informative java disasm 2014-01-13 18:48:56 -06:00
Adam Pridgen
5c140609be Added fix to update sym flags, cp_obj load addresses, and add functions after analysis 2014-01-13 15:49:33 -06:00
Adam Pridgen
20ac1d48e3 fixed an overflow condition in java utf8 strings 2014-01-12 22:47:34 -06:00
pancake
d2ce7c1130 Some polishments for io_zip.c 2014-01-13 00:50:04 +01:00
Adam Pridgen
415a77dca0 Java can now load multiple bins into radare space, and analyse the different bins.
See libr/bin/p.bin_java.c libr/anal/p/anal_java.c for the hacky details.
Fixed the coverity issue.
2014-01-12 17:36:47 -06:00
Adam Pridgen
1134b36224 coverity fixes 2014-01-10 16:42:57 -06:00
Adam Pridgen
deb58b637a Added index open of files in zip:// uri and fixed entrypoints reported to include only static methods, main, the constructors 2014-01-10 16:30:47 -06:00
pancake
03ff72079f Fix the famous shlr/java overflow. Move along, nothing to see here 2014-01-10 19:07:25 +01:00
pancake
e5ad21d731 More cast issues fixed in shlr/java and anal 2014-01-10 18:24:47 +01:00
Adam Pridgen
737664ae87 Added RBinBind to RAnal to facilitate information passing between processed bin and analysis 2014-01-10 10:20:23 -06:00
Adam Pridgen
9bdd742a43 Fix null pointer issues with java's use of sdb. Re-did the way keys for cp object, methods, and fields are entered into the sdb. Updated the way bin objects are referenced in asm and anal plugins for java. 2014-01-10 00:35:25 -06:00
pancake
9bd0ec57a0 Fix overflow in cmd_write.c and issue in shlr/java 2013-11-15 02:14:53 +01:00
Adam Pridgen
7510c3d0bd renamed NULL CP Object Type from (null) to NULL 2014-01-09 11:12:23 -06:00
Adam Pridgen
6e07c6a75a Fixed most warnings (excluding unused functions and vars) in class.* and p/anal_java 2014-01-09 10:13:35 -06:00
pancake
cded178fdb Fix 80 warnings and 1 segfault in shlr/java 2014-01-09 16:18:25 +01:00
Adam Pridgen
79ffe311ec updated the way shlr java persists bin_objs, so that they can be used by other components. Mac OSX still broken, now its an SDB problem. 2014-01-09 07:43:13 -06:00
pancake
01a2b485e7 Implement 'drc' command with all the RRegCond magic
- Fix all debug register profiles
- Support for X86 and ARM
- Allow to check conditional instructions
2014-01-08 23:23:06 +01:00
Vitezslav Cizek
85dc387ee9 add missing return to shlr/java/main.c 2014-01-08 00:09:21 +01:00
Adam Pridgen
b0593f9001 rename r_anal2 to r_anal_ex to fix namespace issues 2014-01-05 23:06:00 +01:00
Adam Pridgen
bc2ee1f869 Improved plugin analysis allowing plugin developers to define custom
analysis algorithms.
Java analysis plugin is re-written to leverage this capability.
Added some new R_ANAL types, and some of the respective operations and strings.
Updated io-component files to get file size and info
2014-01-03 00:28:46 +01:00
pancake
38fc28f960 Added more Jamroot files 2014-01-03 00:13:46 +01:00
David Martínez Moreno
11606b9e16 Removed .hgtags, remnant from a distant past.
Fixed the ifeq line.  Oops.
2014-01-01 21:11:07 -08:00
David Martínez Moreno
1fbeae231d Add .so as a suffix for libtcc on Linux, even when it's not being
installed.
2014-01-01 00:04:40 -08:00
David Martínez Moreno
06ed8553c6 Properly propagate LDFLAGS in libraries.
Debian fills up LDFLAGS with hardening flgs but for some libraries this
 parameter is not additive to the value from the environment but hardcoded.
2013-12-31 23:56:59 -08:00
pancake
13ea5e467d More Jamroot files and move vm out 2013-12-31 15:57:52 +01:00
pancake
3b3bbbb916 Add more Jamroot files and move some plugs to r2-extras 2013-12-31 15:34:27 +01:00
pancake
dba63fbd3c Add some Jam files and merge rsign into ranal 2013-12-31 05:30:39 +01:00
pancake
6fe529ab5c Update sdb 2013-12-31 04:53:42 +01:00
pancake
1531e965b3 Do not install libr_tcc 2013-12-29 03:20:53 +01:00
pancake
5223c0f578 Fix infinite loop stdin issue on EOF 2013-12-28 00:30:09 +01:00
Adam Pridgen
9494c5b405 Fixed coverity defects 2013-12-24 19:06:00 -06:00
pancake
ab82968341 Fix build, update sdb for sdb_apush fix 2013-12-22 23:55:28 +01:00
Adam Pridgen
1832f71268 changed from individual keys to arrays 2013-12-21 22:19:47 -06:00
pancake
a69e740a22 Use latest sdb to get sdb_apush/sdb_apop apis 2013-12-22 04:59:31 +01:00
pancake
84f579264f Fix build 2013-12-22 04:37:05 +01:00
Adam Pridgen
77bc339184 Added cp_opj info into the sdb. CP Info is a primitive serialization that describes the file location, type, and values (dependant on type) in a dotted string format. 2013-12-22 01:56:18 +01:00
pancake
bf1d0ff08a Fix build and various random fixes 2013-12-20 04:32:38 +01:00
pancake
44dc4a9f30 Remove r2-bindings from this repository 2013-12-20 02:10:36 +01:00
pancake
1185a8210b Integrate SDB into RBin accessible with the 'ik' command 2013-12-20 01:20:17 +01:00
pancake
47d6501069 Bump sdb to support hooks 2013-12-19 01:54:56 +01:00
Adam Pridgen
ddf540d0ab Squashed merge of @deeso's pullreq for the Java RBin plugin
Added basic interpretation of java access flags for classes, fields, and methods
Added a visibility_str to RBinSymbol and RBinClass, and updated getters in Java
Added minstrlen to bin_java plugin struct
Fixed bin->minstrlen not being set in r_bin_init_items
Fixed iinc instruction.
2013-12-17 02:23:16 +01:00
pancake
6eb7a5ed2f Move grub into shlr 2013-12-14 03:51:18 +01:00
pancake
50d01cb85c Update SDB and fix bindings 2013-12-14 00:39:27 +01:00
Adam Pridgen
567da7a1db Fixed bug in code offet reporting 2013-12-13 12:28:24 -06:00
Adam Pridgen
c706bf9bdd add missing java op 2013-12-13 11:37:54 -06:00
Adam Pridgen
893fd98b89 fixed coverity issues that were reported 2013-12-09 17:08:40 -06:00
Adam Pridgen
12ca0b206b disabled the debugging statements 2013-12-08 23:29:23 +01:00
Adam Pridgen
5a8ee7ba3d Fixed issue with p_stack_frame being null when parsing java class method 2013-12-08 23:29:19 +01:00
Adam Pridgen
1289476120 Cleaning up functionality and fix some bugs for Java 2013-12-06 05:42:35 +01:00
Adam Pridgen
b71bf37622 Fixed issue where strings were not loaded from bin_strings, because r->bin->minstrlen is zero (set from r_config) (fixed in set_items and r_bin_io_load) 2013-12-06 02:51:08 +01:00
pancake
05d7188a9a Fix dynamic format string functions
- s/r_str_dup_printf/r_str_newf/g
- Add r_strbuf_setf()
2013-12-04 00:20:52 +01:00
Adam Pridgen
ec5a679ec8 Fixed IO plugin load again, would not properly load the plugin 2013-12-03 04:52:46 +01:00