17449 Commits

Author SHA1 Message Date
Florian Märkl
5e1f811ec0 Fix meson indentation (#9567) 2018-03-03 22:08:37 +01:00
xarkes
41b8e7d110 Fix dbtj json output 2018-03-03 19:38:27 +01:00
xarkes
00668df334 Fix non closing on readline failure (windows) 2018-03-03 17:49:27 +01:00
Giuseppe
f345d7cccc Normalize usage output for some o commands (#9562) 2018-03-03 17:06:06 +01:00
Florian Märkl
95a1b75784 Install Headers and .pc Files with Meson (#9548)
Use meson pkgconfig for .pc files

meson 0.44

Install same headers as acr
2018-03-03 20:00:18 +08:00
Riccardo Schirone
cb002bc25c core: fix @B and add some undocumented commands 2018-03-03 10:50:19 +01:00
Riccardo Schirone
62850d9000 core: add undocumented command in graph mode 2018-03-03 10:50:19 +01:00
Riccardo Schirone
ee936475fb core: print | char to print bbline 2018-03-03 10:50:19 +01:00
securisec
84ead4285f Create darkda (#9555) 2018-03-03 10:49:54 +01:00
pancake
fda9737c42 Fix #9549 - Make @@@ work, add better help, use single char operators 2018-03-02 18:58:14 +01:00
pancake
b860076802 Fix #9541 - VC rotates scr.color instead of toggling 2018-03-02 17:58:44 +01:00
pancake
b1212240a1 Blindfix #9506 - null deref i cant reproduce 2018-03-02 17:52:36 +01:00
pancake
c0e8395c79 Update capstone 2018-03-02 17:51:36 +01:00
pancake
46a1b2291d Fix sys/static.sh on Linux 2018-03-02 16:38:42 +01:00
Giuseppe
a668ad4712 Make wopO stop when value isn't starting with 0x (#9538) 2018-03-02 11:03:05 +01:00
Jack Baker
cd1ab13e78 Additional _main signature for MSVC (#9546) 2018-03-02 11:02:33 +01:00
pancake
348057f5ae Fix return value check in sys/static.sh 2018-03-02 01:06:50 +01:00
pancake
040dbad8a3 Add mach code signature magic entry 2018-03-01 19:03:20 +01:00
pancake
b4d3a78989 Use io.pcache instead of io.cache, improve speed, we dont need change logs here 2018-03-01 16:34:18 +01:00
pancake
59f3217ea8 Enable io.cache for afta too under aaaa.. we must optimize io.cache 2018-03-01 15:37:13 +01:00
pancake
de098d28f6 Improve autoanalysis support for noob users 2018-03-01 12:59:13 +01:00
pancake
346ad9b899 Fix #9489 - enable io.cache when using aaaa 2018-03-01 12:49:37 +01:00
pancake
8d675ab95a Fix glitch in graph cropping introduced in 173c7ee49fd4d2c70ae6d4aa9a99602b41f50cea 2018-03-01 12:01:29 +01:00
Duncan Ogilvie
e8621872b8 fix r_io_reopen when reopening with write access on windows (#9539)
workaround for #8840
2018-03-01 11:49:40 +01:00
pancake
e894b56205 Add more clippies 2018-03-01 10:53:53 +01:00
redmed666
2b9c554724 Implement axgj
* Added axgj option in the ax help menu
* Added an opts field for anal_axg in order to allow json output
* Added an if case for axg (allows json output)
* Added some checks for the json output from axg in order to have a correct json object
2018-03-01 10:50:56 +01:00
Vanellope
6b36d7773b added in some missing codes to synchronize the offset of the disassemly in panels and visual (#9542) 2018-03-01 13:58:20 +08:00
Vanellope
82374ce2d7 Fix disasm scroll issue when invalid on panels 2018-02-28 22:16:11 +01:00
Fangrui Song
a244064276 Support more terminal attributes other than bold. (#9535) 2018-02-28 17:54:39 +01:00
Giuseppe
9a3fe466fd Fix travis build error (#9537)
Trying to clone user branch of
radare2-regression was failing when user
didn't push test, but that should still
exit with status 0 or travis will mark
the build as failing.
2018-02-28 14:15:29 +01:00
Riccardo Schirone
795f3a8f1c core/cbin: do not set symbol flags for sections and file symbols 2018-02-28 14:14:55 +01:00
Riccardo Schirone
c38f140c67 bin: do not filter out symbols and do not duplicate relocs addresses
Multiple import relocations that points to the same symbols, should have
the same address in the disassembly. For example, if two points in the
code need to be patched with the address of imp.free, both points should
contain the same address and not reloc.free_1 and reloc.free_2.
2018-02-28 14:14:55 +01:00
Riccardo Schirone
42ab0a48d5 libr/core: do not add Cd metadata if relocations is in exec sections
When relocations are directly in the code, adding a Cd metadata makes
the visual disassembly wrong, because it appears as there are some data
in the middle of the code.
2018-02-28 14:14:55 +01:00
michaelbr92
e71d6c01b7 Add escape encoding for json in print format ascii string (#9497)
* add escape encoding for json in print format ascii string

* fix review notes

* remove unneeded parentheses in loop condition

* print the whole encoded_char string instead of iterating in an inner loop

* replace all the loops over list in the pfj to use r_str_escape_utf8
2018-02-28 20:58:16 +08:00
pancake
92996067db BlindFix #9503 - Check core->file for NULL 2018-02-28 10:34:04 +01:00
Giuseppe
d77ad33b69 Fix mkdir -p for r2 shell (#9532)
Also make r_syscmd_mkdirp return a
string, instead of printing output on
stderr via `eprintf`. This will help
testing.
2018-02-28 01:24:46 +01:00
pancake
df48171b2d Update coding style rules for braces 2018-02-28 01:24:03 +01:00
pancake
7b5ab319f8 Revert V* behaviour, add < command and make dietline reuse rcons.readChar 2018-02-28 01:19:08 +01:00
pancake
ebd92e91be Fix #9514 - Initial sys/purge.sh distro to remove r2 distro packages 2018-02-28 00:50:01 +01:00
pancake
976422cc0b Improve RCons.readPush and add .readFlush() to make V* happy 2018-02-28 00:37:19 +01:00
pancake
2497fb6f51 Implement r_cons_readpush() new api and fix the V... automation 2018-02-28 00:26:41 +01:00
pancake
19bdc6f41a Fix crash in oodr 2018-02-28 00:18:09 +01:00
pancake
aca973f31f Fix #9525 - e graph.format=? and missing help for @@iS 2018-02-27 23:46:47 +01:00
pancake
6cdd273d5c Implement @@iS RBin.Section foreach operator 2018-02-27 23:10:28 +01:00
pancake
964cc83a17 Fix #8979 - Implement @% suffix operator 2018-02-27 22:54:42 +01:00
Debily
da51abb7cb Removed some of the asserts in jemallocs internals (#9429)
* Removed some of the asserts in jemallocs internals, tagged the unmodified (grep for them with my name)

* removed the `#ifdef JEMALLOC_DEBUG`s

* Removed the comments
2018-02-27 22:30:40 +01:00
Oleksij Rempel
680fd9d397 fall back to cfg.bigendian of bin autodetection is not working (#9528)
If we work on baremetal binary the autodetection is not working.
In this case Po "project open" and "e asm.arch =.." set always to LE,
even if cfg.bigendian = true.
This patch should change the logic to fall back to cfg value.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
2018-02-27 22:28:33 +01:00
Riccardo Schirone
8000d18125 Test PRs with radare2-regressions PRs (#9515) 2018-02-27 22:26:54 +01:00
pancake
b3d465f38e Fix build and move anal.setHints from plug to the anal loop 2018-02-27 19:13:12 +01:00
Fangrui Song
0ac144d06a Clean up io and add some comments
* Add prefix mode r_io_nread_at
* Add r_io_read_at_mapped
2018-02-27 18:41:52 +01:00