12524 Commits

Author SHA1 Message Date
pancake
6db1ee101d Fix wxs command 2016-10-04 18:03:03 +02:00
pancake
150ebc3c26 Add long-to-double instruction for anal.dalvik 2016-10-04 15:55:04 +02:00
pancake
9eb1a2903b Enforce hexpair parsing rules. To fix rahash2 -S foo without s: 2016-10-04 15:46:46 +02:00
{avicoder}
1647da5631 Reformatted document in Markdown 2016-10-04 15:35:14 +02:00
Marc
c39b9e9dc3 fix flags duplication (#5899) 2016-10-04 15:07:26 +02:00
pancake
d7e0be5dad Implement rasm2 -s? and refactor this a bit 2016-10-04 15:01:02 +02:00
pancake
516a095a04 Fix #5909 - r2 -o is now -k 2016-10-04 14:47:09 +02:00
pancake
41d6e9edde Add bash autocompletion support 2016-10-04 14:34:06 +02:00
pancake
f3176a1174 Fill the op.type field for STOS and LODS on x86.cs 2016-10-04 11:53:33 +02:00
Riccardo Schirone
8b0d157614 conf: enable graph.nodejmps by default (#5904) 2016-10-04 11:13:30 +02:00
Gerardo García Peña
e3b1f8eb30 Fix issue in aeso 2016-10-03 21:43:55 +02:00
Marc
9bcf6bdcbe more coverity fixes (#5882) 2016-10-03 20:13:45 +02:00
pancake
0080399021 Fix build on FreeBSD 2016-10-03 15:08:59 +02:00
Álvaro Felipe Melchor
f0f54ad1c6 move check of num_threads into get_proc_process_content 2016-10-03 00:13:35 +02:00
Álvaro Felipe Melchor
7ba81f6886 More work into ragg2 2016-10-02 23:46:57 +02:00
Álvaro Felipe Melchor
62fe6eb85e more work into sys.c 2016-10-02 23:08:13 +02:00
Álvaro Felipe Melchor
b09e19041f Fix oob read in ragg2 2016-10-02 22:57:50 +02:00
Álvaro Felipe Melchor
bd544b5ee3 Added check for section size in bin_pe.c 2016-10-02 12:51:32 +02:00
pancake
c6107b0dbe Add R2PM_OLDPWD var for r2pm 2016-10-02 11:58:46 +02:00
pancake
8857900863 Add support for zip and 3rd url parameter 2016-10-02 11:53:12 +02:00
pancake
37f353b693 Add R2PM_SUDO and enhance r2pm -c 2016-10-02 11:33:25 +02:00
Álvaro Felipe Melchor
8cbfaf8dbc Fix NULL dereference in search_reg_val 2016-10-02 02:10:37 +02:00
Álvaro Felipe Melchor
218474ec13 Remove unused variable and coding style file.c 2016-10-02 02:05:23 +02:00
pancake
4762f73c4e Fix prompt in r2pm cd 2016-10-02 01:26:53 +02:00
pancake
c3bd6a6a10 Add r2pm ls|cd 2016-10-02 00:37:09 +02:00
pancake
c7877075a1 Minor tweak to get better colors in dalvik disasm 2016-10-01 17:44:25 +02:00
pancake
d482f8974f Add R2PM_TGZ for r2pm 2016-10-01 14:04:54 +02:00
Álvaro Felipe Melchor
b1ee53bf2a change addr alignment 2016-10-01 12:05:35 +02:00
Álvaro Felipe Melchor
f807f13fca Fix relsub for arm and esil 2016-10-01 12:05:32 +02:00
Álvaro Felipe Melchor
b0ee337c0f Fix regression in coredump 2016-10-01 11:03:05 +02:00
Gerardo García Peña
4971aca917 It's raining AVR anal ops, hallelujah! (#5888)
* Implemented opcodes FMUL, FMULS, FMULSU.

* Implemented IJMP and ICALL.

* Added opcodes LAC, LAS and LAT.
2016-09-29 23:46:14 +02:00
pancake
ec25d8475c Disable syscall emulation in esil by default 2016-09-29 19:39:59 +02:00
oddcoder
fad94aa57f fixing invalid json syntax (#5884) 2016-09-29 15:07:53 +02:00
Álvaro Felipe Melchor
7bbf637b6b remove annoying stray introduced by vim 2016-09-29 13:37:53 +02:00
Álvaro Felipe Melchor
6f2b0e5b64 more coverities 2016-09-29 12:56:13 +02:00
h4ng3r
053efaa938 fix some coverity issues 2016-09-29 12:56:11 +02:00
pancake
69b327cfd5 More interdoc between i and rabin2 2016-09-29 11:33:44 +02:00
pancake
6a7f728950 Make more visible the relation between r2's i and rabin2 2016-09-29 11:26:42 +02:00
pancake
bfbc5c2f7f Fix #5874 - Implement asm.relsub for arm.cs 2016-09-29 11:25:18 +02:00
Markus Lottmann
c02be8da7d Correction of ESIL code generated for ROL, ROR and OR instructions on X86 (#5873)
* Esil equivalent of x86 cmp instruction now set the overflow flag.

* Fixed ESIL code generated for ROL instruction.

* Fixed ESIL code generated for OR instruction.
2016-09-29 09:41:33 +02:00
Gerardo García Peña
ccda50b1a2 More opcodes for AVR anal plugin (#5875)
* More opcodes for AVR anal plugin:

New ops BREAK, BST, CBI, COM, CPSE, DEC, LD, LDD, INC, SBRC/S, STD, EIJMP, EICALL and ELPM.

Heavy bugfixing and refactorization.

Emit cycles warning only one time.

working on FMUL

* Removed strcasestr() and bzero() moved to memset()

* Bugfixes (avr tests were broken).
2016-09-29 09:39:04 +02:00
Álvaro Felipe Melchor
cfa5af96cf indent mach0_defines.h 2016-09-29 00:07:34 +02:00
Sebastian Reichel
3044a2da05 Replace mach headers from AAPL to LLVM
The mach headers are licensed under APSL-2.0, which
is not compatible with GPL. The mach0_defines.h
provides all required structs and defines and comes
under a GPL compatible MIT/BSD styled license.
2016-09-29 00:07:31 +02:00
Sebastian Reichel
b98880ff26 Debian patches (#5866)
* Fix esil manpage

Each manual page should start with a "NAME" section, which lists the
name and a brief description of the page separated by "\-". The "NAME"
section is parsed by lexgrog and used to generate a database that's
queried by commands like apropos and whatis. Without this change
lexgrog fails to parse the NAME section of this manual page.

This was found by Debian's lintian tool (manpage-has-bad-whatis-entry).

* Fix empty input line in manpages

Found-By: lintian as manpage-has-errors-from-man

* Fix rahash2 manpage

.El (end list) is only valid after .Bl (begin list),
but no list was started in this section.

Found-By: lintian

* Avoid build break if no static bin plugins are defined

If one disables all static bin plugins, build currently fails,
since R_BIN_STATIC_PLUGINS/R_BIN_XTR_STATIC_PLUGINS are not
defined. This fixes the build for these kind of setups.

(In Debian does not built the mach code, since the
Apple Public Source License is not compatible with
the Debian Free Software Guidelines. Without the
mach code there is not a single binxtr plugin)

* Fix implicit declaration of function 'linux_generate_corefile' on i386

Noticed by Debian build farm.

* Add support for SOURCE_DATE_EPOCH

SOURCE_DATE_EPOCH can be used to make builds
reproducible [0].

Note: radare suffers from a second problem making the
build unreproducible: It captures the full build path.
This is *not* covered by this change.

[0] https://reproducible-builds.org/specs/source-date-epoch/
2016-09-28 19:17:43 +02:00
pancake
87cd22a25b Fix ios cross-build on the first run 2016-09-28 17:16:47 +02:00
pancake
18ac22ea6e Fix #5872 - uninitialized free in pdj 2016-09-28 16:47:33 +02:00
Marc
95d982f1fc add METH symbol type to anal core (#5861) 2016-09-28 12:05:46 +02:00
Hi-Angel
9855e55e98 More documentation for rabin2 (manpage and help) 2016-09-28 12:05:12 +02:00
pancake
e78b561669 Fix re/av-pag in VV graph view 2016-09-27 23:50:48 +02:00
alvaro_fe
c8130c4198 Fix crash in reflines 2016-09-27 19:49:39 +02:00