Commit Graph

712 Commits

Author SHA1 Message Date
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