Commit Graph

15408 Commits

Author SHA1 Message Date
pancake
2504b84954 Fix #7994 - crash in pkcs7 parser 2017-07-24 01:37:59 +02:00
pancake
dde903aa7b Honor bin.dbginfo for DEX (~20% speedup loading times) 2017-07-24 01:35:33 +02:00
pancake
4d2bfe135a Add RBinInfo.has_lit for 15% speedup loading DEX bins 2017-07-24 01:15:56 +02:00
Fangrui Song
e61f5ef0a0 Add free to RLibStruct & RLibPlugin. (#7991)
radare2-bindings/libr/lang/p/python/anal.c `strdup` fields for
RAnalPlugin and they are not freed upon `r_lib_close`.
This commit adds `free` to RLibStruct & RLibPlugin with which
plugins can set their custom destructors (to free those `strdup`
fields).
2017-07-23 23:35:45 +02:00
Ren Kimura
b294c3e0d7 Add dcb (debug continue back) command (#7979)
* Add dcb (debug continue back) command
* Add braces
2017-07-23 14:47:11 +08:00
Fangrui Song
3c79dbc019 Fix a memory leak in libr/util/stack.c 2017-07-23 14:46:15 +08:00
Srimanta Barua
e4cce06671 Added reading of executed file name to gdbserver 2017-07-21 20:06:41 +02:00
radare
941008b5dd Initial optimization for DEX
* Avoid unnecessary copies of the lines info for DEX
* Return NULL instead of empty strings
* Honor bin.dbginfo for all file formats
* Reduce the number of false positive strings
* Use r_buf_get_at instead of r_buf_read_at to avoid memory copies
2017-07-21 19:48:29 +02:00
pancake
ac3c7406b8 Fix last covs 2017-07-21 19:03:20 +02:00
pancake
75545624b4 Fix #7976 - Fix VcjjjA 2017-07-21 19:02:14 +02:00
Fangrui Song
cf41bb42fd Send SIGTSTP to the process group of r2 when SUSP key is pressed. (#7983)
When binr/radare2/radare2 was running under a shell and they were in the
same process group, pressing ^Z (SUSP) once just suspended radare2, not
including the shell. The commit sends the signal to the whole process
group.
2017-07-21 18:03:44 +02:00
pancake
32751a81aa Initial implementation of tc to manipulate calling conventions 2017-07-21 17:42:47 +02:00
Fangrui Song
6cf72a3747 Fix r_line_readchar_utf8 (#7971) 2017-07-21 16:40:04 +02:00
Daan Spitz
8b67b13805 add complexity fortune (#7981) 2017-07-21 15:38:23 +08:00
Fangrui Song
43fd42bc1c Fix a few memory leaks (#7984)
* Fix memory leak in libr/debug
* Fix memory leak in libr/core/cconfig
* Fix memory leak in libr/debug
* Fix memory leak in binr/radare2
2017-07-21 15:37:49 +08:00
Giovanni
858dfea170 Fix #6411 - pseudo for AVR (#7978)
* avr.pseudo

* tabs and flavour
2017-07-20 21:36:26 +02:00
Lennart Braun
ca586ea48d Fix regression with capstone 3 (#7977)
The following constants are part of capstone-next and not available in
capstone v3:

* PPC_INS_LBZCIX
* PPC_INS_LDCIX
* PPC_INS_LWZCIX
2017-07-20 17:48:20 +02:00
pancake
abe9e015fa Another fix to make nonsandboxed webserver happy with html 2017-07-20 15:51:00 +02:00
pancake
3a114bee0c Fix http server without sandbox 2017-07-20 15:48:26 +02:00
pancake
a048a77a13 Oops, regression 2017-07-20 15:42:08 +02:00
pancake
b29f204049 Html filtering on string buffers to avoid sandboxing issues in the http server 2017-07-20 15:36:49 +02:00
Guillaume Valadon
ea8adc48da Use void in prototypes (#7974) 2017-07-20 14:50:13 +02:00
pancake
4f45e836e1 Enhance sandboxing messages and checks 2017-07-20 14:49:45 +02:00
pancake
d1f080a619 Fix #7965 - null deref in pkcs7 parsing 2017-07-20 12:04:05 +02:00
Srimanta Barua
6f2eb2843b Added command to get/set packet size for gdb io system (#7961)
* Added pktsz to io system
* Add env var to control gdb packet size
2017-07-20 11:57:29 +02:00
Guillaume Valadon
04bf98a358 Use void in prototypes (#7972) 2017-07-20 10:48:55 +02:00
Guillaume Valadon
a8ad435c10 Typos fixed (#7970) 2017-07-20 10:44:43 +02:00
Ren Kimura
aabd68b9c0 Add message to dtst and remove unnecessary message (#7968) 2017-07-20 08:23:58 +02:00
Giovanni
ab221f8326 Implement pseudo for sh4 2017-07-20 08:20:19 +02:00
xarkes
5996387f8e Refactor print_lasterr() to use r_sys_perror 2017-07-19 19:34:49 +02:00
pancake
287c4aa61f Honor scr.utf8 in pq (qrcode) 2017-07-19 16:50:53 +02:00
pancake
ccce9afc66 Fix last covs 2017-07-19 16:45:27 +02:00
alvarofe
922c11b6dd Uppercase help messages in d* commands 2017-07-19 16:36:24 +02:00
Fangrui Song
9ca10e175e Fix powerpc64le analysis. (#7955) 2017-07-19 14:19:51 +02:00
Fangrui Song
20be22ab98 Fix some ppc esil (#7956) 2017-07-19 14:16:23 +02:00
pancake
2829d9e398 Detect kotlin in java classes 2017-07-19 13:55:05 +02:00
Sven Steinbauer
5e22336a1d Group1 op fixes for 16bit regs (#7957)
* Add support for 16bit regs for group 1 ops

* Fix other group1 ops

* Revert changed test for AL
2017-07-19 13:54:49 +02:00
pancake
c0c5f81be8 Fix travis again 2017-07-19 13:28:27 +02:00
Anton Kochkov
f26682b05c man rabin2 - remove duplicate 2017-07-19 12:23:25 +08:00
pancake
ab8e7dbdde Make Travis happy 2017-07-19 01:50:40 +02:00
pancake
04d6b1f607 DEX now uses va=true, and io.va is ignored for search.in=file 2017-07-19 00:25:43 +02:00
pancake
023f9fe10b Aim to fix last regressions 2017-07-18 15:46:30 +02:00
Anton Kochkov
8962cef84c Honor the config in mmap graph 2017-07-18 18:37:11 +08:00
Fangrui Song
63a14b23b7 Fix color of cmd.gprompt (#7951) 2017-07-18 10:41:45 +02:00
Fangrui Song
6b4d140d6c Fix help for pi, add comments to switch cases => case d: // "pid" (#7952)
Indent `p=`, fix r_hash_entryopy_fraction (multiplier 256 is changed to 255 to avoid ut8 overflow, avoid ERANGE when calculating log(0), scan data once instead of 256 times)
2017-07-18 10:24:46 +02:00
xarkes
c079e26ccf Fix msvc build (#7953) 2017-07-18 10:23:24 +02:00
xarkes
9562475e95 GetLongPathName call fix (#7954) 2017-07-18 10:22:35 +02:00
pancake
f0aed31b39 Fix define visual array of data issue Vcjjjd[bBwW] 2017-07-18 02:15:49 +02:00
pancake
cd22fbb217 Add $Fj and $Ff in ?$ and update s? help msg 2017-07-18 02:06:19 +02:00
pancake
4f5f6c28ff Add $Fj and $Ff to follow jump/fail of current basic block, fixes $Fs too 2017-07-18 02:03:49 +02:00