12492 Commits

Author SHA1 Message Date
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
alvaro_fe
413ff4313a Fix some coverities 2016-09-27 18:56:34 +02:00
Maijin
26cb39c759 Move build to sys/build 2016-09-27 18:44:34 +02:00
Alexandru Caciulescu
bf5ebbf583 Fix Ps/Po for ROP SDB namespaces (#5856) 2016-09-27 04:16:52 +02:00
pancake
eb53c42730 Release 0.10.6 - codename: Sleepy Autumn 0.10.6 2016-09-27 03:02:17 +02:00
pancake
5e00b6118f Bump capstone and update releasenotes.js 2016-09-27 02:59:30 +02:00
pancake
dc00fa9048 Fix #5721 - r2pipe.c spawn blocking and not working 2016-09-27 02:17:26 +02:00
alvaro_fe
490b0294c2 Fix regression in axt 2016-09-27 00:50:56 +02:00
alvaro_fe
b61cd6f22a Fix build 2016-09-27 00:44:14 +02:00
dequis
069391dd05 Fix leak in r_anal_noreturn_at_name 2016-09-27 00:28:21 +02:00
pancake
30519fbd2c More release-notes enhancements 2016-09-27 00:15:41 +02:00
alvaro_fe
dd75e7c84a Fix warning 2016-09-27 00:03:04 +02:00
alvaro_fe
ff18723f6b Fix possible overflow in ds_atabs 2016-09-27 00:03:03 +02:00
pancake
f8b6fab24f Fixes for release-notes 2016-09-27 00:01:20 +02:00
pancake
ba119b6edc Fix regression in axt 2016-09-26 23:55:05 +02:00
pancake
ad844b5b65 Refix #5698 - Honor asm.varsub and asm.relsub in axt 2016-09-26 23:36:44 +02:00
radare
1923ee74ef Fix #5698 - Support memrefcalls in xrefs and hotkeys common on w32 bins 2016-09-26 23:13:49 +02:00
pancake
b002bbf316 Fix oobread in mach0 parser 2016-09-26 18:41:14 +02:00
pancake
3986ea1fbb Aim to fix the sym loading regression in debugger 2016-09-26 17:33:08 +02:00
pancake
e2950f1676 Fix #5695 - Support @@f: to iterate over all functions matching a name 2016-09-26 17:16:36 +02:00
alvaro_fe
ee876d4bf1 Fix build 2016-09-26 17:07:39 +02:00
pancake
956bd21ef1 Fix #4311 - Allow ESIL to change BITS from core 2016-09-26 17:04:44 +02:00
alvaro_fe
9763de3b0b coding styles changes 2016-09-26 17:00:03 +02:00
zonkzonk
7fe4084b32 update linux_coredump.c check nullptr for elf_proc_note->n_threads
.
2016-09-26 17:00:01 +02:00
pancake
c2c0e37e95 Grab CERTID from environment to ease OSX builds 2016-09-26 16:52:21 +02:00
pancake
62de135861 Check the state of the gdb connection 2016-09-26 14:40:26 +02:00
pancake
490d2a498a Fix #2571 - dcs is working again 2016-09-26 13:40:25 +02:00
Álvaro Felipe Melchor
3a5444f3ca Fix warnings 2016-09-26 13:24:00 +02:00
Markus Lottmann
8abffec384 Esil equivalent of x86 cmp instruction now set the overflow flag. (#5851) 2016-09-26 13:03:08 +02:00
pancake
59bf09a66a Refix oo to make travis happy 2016-09-26 12:53:05 +02:00
pancake
5c70e3fae1 Fix regression in rbin 2016-09-26 01:51:17 +02:00
Vlad Ivanov
060bab6350 anal_xtensa: fix possible heap buffer overrun
Stack pointer could be affected by both wide and narrow
forms of addi. Use proper instruction decoding to obtain
the operand value.
2016-09-26 00:49:41 +02:00
pancake
1e89dddd87 Fixes in oa, asm.bits, avr and io debug issues 2016-09-26 00:46:20 +02:00