pancake
60f9667654
Remove support for bjam build system
...
- Delete all Jamroot files
2017-05-02 05:48:40 +02:00
yetmorecode
1fc8a829b3
Added fss, fssj and fss* ans some minor improvements in fs ( #7392 )
2017-05-02 05:46:43 +02:00
Francesco Tamagni
e9b402b7f2
Add class name argument to ic
2017-05-02 05:44:46 +02:00
pancake
fa0409dab7
Fix crash in signatures and minor fix for meson
2017-05-02 05:43:44 +02:00
pancake
8edc242324
Remove judy and libzip unused code
2017-05-02 05:34:05 +02:00
pancake
fa671b9a16
Initial support for the Meson build system
...
- Integrated with current ACR
- Fix some stale fails got removed
2017-05-02 05:05:36 +02:00
yetmorecode
8c78bfa8c0
Export size field as long instead of string in fj ( #7388 )
2017-05-01 16:50:38 +02:00
pancake
773c0e122c
Fix last cov
2017-05-01 15:59:24 +02:00
yetmorecode
344bdd0df6
Added size and machine where missing in iAj ( #7384 )
2017-05-01 14:11:24 +02:00
pancake
1d9a571fdd
Remove dead code and fix ij on dex
2017-05-01 14:04:11 +02:00
Khairul Azhar Kasmiran
eff7cdb29c
Put flag cmt first and show it only once ( #7386 )
2017-05-01 10:49:41 +02:00
pancake
7726cdb5ca
Honor class/methods and flags to name functions
2017-05-01 03:56:01 +02:00
pancake
6fe53c4908
Load methods as flags when loading the bin
2017-05-01 03:55:43 +02:00
yetmorecode
56704cec34
Followup changes in cconfig.c to utilize SETOPTIONS for config nodes ( #7377 )
...
* Not printing config description in 'e var=?'
* Added ?? option to config nodes and multiple style fixes
2017-04-30 19:35:14 +02:00
Khairul Azhar Kasmiran
282956bded
Align fcn name cmts ( #7382 )
2017-04-30 13:53:26 +02:00
Andry
8ff25b906d
afll sorting fix ( #7378 fix) ( #7381 )
2017-04-30 13:51:53 +02:00
Khairul Azhar Kasmiran
d2fd4c6727
Make push cmt a true cmt ( #7379 )
2017-04-29 14:54:28 +02:00
pancake
9d83647047
Aim to fix eco cga on windows
2017-04-28 23:01:37 +02:00
Khairul Azhar Kasmiran
2ca1f07052
Don't repeat flag in comment if already in disasm (CALL/MOV) ( #7375 )
2017-04-28 18:27:56 +02:00
pancake
71dc5b0588
Fix z regression introduced after refactoring
2017-04-28 17:16:45 +02:00
pancake
96cae18de6
Update to sdb-0.12 fixing some mem issues
2017-04-28 14:48:01 +02:00
pancake
c91339830e
Initial implementation of dir.zigns and honor in zo
2017-04-28 14:37:30 +02:00
pancake
b3850be217
Lot of null derefs fixes in signatures and crypto
...
- Remove \r from crypto_des
- Initial work towards dir.zigns
2017-04-28 14:37:28 +02:00
Francesco Tamagni
ab7f7c9c3d
Improve ESIL for arm64
...
- add implementations for MSUB, BFI, NEG
- fix BLR implementation
- move "tmp" register to avoid overlapping "sp" in register profile
2017-04-28 13:20:02 +02:00
radare
fae079d20c
Set asm.midflags=2 by default
...
- Filter flags starting by hit or $
2017-04-28 05:50:04 +02:00
Marq Schneider
183938ef19
Add MIPS branch likely variants to MIPS CS analysis
2017-04-28 02:20:11 +02:00
yetmorecode
0a3d2ad085
Fixed regression in e*
2017-04-28 02:07:32 +02:00
yetmorecode
1ee1a3550e
Added more JSON escaping
2017-04-28 02:07:32 +02:00
yetmorecode
3bcd98bb4f
Added SETOPTIONS to cconfig.c and multiple style fixes
2017-04-28 02:07:32 +02:00
yetmorecode
ca56112550
Added ev and evj command
2017-04-28 02:07:32 +02:00
mrmacete
5398cc78f8
Fix arm64 movz and movk ESIL
2017-04-28 02:06:10 +02:00
pancake
96a6bd7d8f
Update SDB from git fixing several vulns
2017-04-28 02:04:18 +02:00
alvarofe
884fb911ae
Fix redirection to std[io|out|err] in rarun for mac
2017-04-28 00:18:45 +02:00
pancake
0072e0c0b7
More fixes for ASR/SAR on 32/64bit for x86, test against arm and thumb
2017-04-27 17:08:20 +02:00
pancake
23cba998d0
Refixes for >>>> on arm32
2017-04-27 16:46:24 +02:00
pancake
838b87f47e
Fix >>>> and >>>>= esil instructions for 32bit
2017-04-27 15:29:44 +02:00
pancake
b3f7277ec6
Fix #7364 - uaf in pdi with ahi 2 on 48b96e74646c6c2e646c for x86
2017-04-27 15:18:49 +02:00
Giovanni
883422082d
Fix PowerPC's SUBF esil and parse
2017-04-27 14:55:22 +02:00
pancake
51aaf24dc1
Implement >>>>= and fix SAR and SARX instructions for x86.cs
2017-04-27 14:28:56 +02:00
pancake
8435ac74f0
Disable callgraph access from visual graph to avoid slow interaction
2017-04-27 12:59:52 +02:00
Raúl Peñacoba
cce719a5af
Fix conditional in str.c
2017-04-27 12:29:38 +02:00
mrmacete
64bed16da2
Add arm64 cset, cinc ESIL. Fix cmp, csel.
2017-04-27 12:08:22 +08:00
pancake
835319ae8f
Delete temporary rarun2 profile when using r2 -X
2017-04-27 00:04:28 +00:00
pancake
02398e1e17
Implement r2 -X to specify custom rarun2 directives
2017-04-26 19:35:37 +02:00
Boris
d52ebcc386
Fix for pdi with ahi=2
...
* r_parse_filter works incorectly with already escaped buffer
* r_core_disasm_pdi refactoring
2017-04-26 19:07:11 +02:00
pancake
89620af34f
Fix double free regression and realloc memleak
2017-04-26 17:06:30 +02:00
pancake
b282656bbb
Improve error checking and fallback in the sandboxed http
2017-04-26 15:31:27 +02:00
pancake
a38eea5594
Revert "Fix #7315 - "ahi s" regression"
...
This reverts commit 47cd0577b2
.
2017-04-26 15:30:44 +02:00
Giovanni
4a88e13e00
Add more standard SPR to pseudo for SPARC
2017-04-26 13:39:31 +02:00
pancake
82ad06df4b
Fix afb and afb. inconsistencies
2017-04-26 13:37:31 +02:00
pachulo
47cd0577b2
Fix #7315 - "ahi s" regression
...
In radare/radare2@d9d83914 the fix for "r_parse_filter output for pc relative addrs when color is involved" broke the ahi command in some contexts.
2017-04-26 12:50:49 +02:00
Khairul Azhar Kasmiran
0f62a1d590
Fixed what caused #7315 ( #7343 )
...
* Fixed what caused #7315
* Minor formatting
2017-04-26 12:49:38 +02:00
0x0dada
92cde73473
Fix mode change to files ... ( #7353 )
2017-04-26 12:49:13 +02:00
pancake
5433af7cb0
Fix build and several queues covs from previous analysis
2017-04-26 12:47:27 +02:00
pancake
ff0d724c60
Fix latest covs from io
2017-04-26 11:33:26 +02:00
pancake
5270b781e7
Fix #7355 - json indent with color glitch
2017-04-26 11:21:52 +02:00
pancake
3c504de576
Do not format huge sections to avoid major pain in loading times
2017-04-25 18:28:04 +02:00
pancake
7d460bc3cf
Fix build for old linuxes
2017-04-25 01:27:14 +02:00
pancake
e26ea1dbfb
Fix msvc build of xtensa
2017-04-24 21:37:28 +02:00
condret
1ab91415e6
kill vio
2017-04-24 19:45:33 +00:00
pancake
6db6c6c72f
Support background color in rgb mode for scr.html
2017-04-24 04:08:57 +02:00
Khairul Azhar Kasmiran
aef667a738
Show string cmt even if \t, \r or \n at start ( #7341 )
2017-04-23 10:47:24 +02:00
Maijin
8e63cba29a
izj Documentation Fix #7340
2017-04-21 21:43:26 +02:00
Anton Kochkov
ece6eebc5b
ARM64: Fix STP and LDP ESIL representation
2017-04-21 22:38:28 +08:00
Khairul Azhar Kasmiran
05d0b1a2c7
Fixed what caused #7268 ( #7325 )
2017-04-21 12:53:28 +02:00
skuater
c6fe8ac4c9
fix Pl command on win64
2017-04-21 10:12:39 +02:00
Michael Scherer
a6bc8798e3
Use the defined structure for r_debug_plugin_t
...
This should change nothing, just bring some consistency in
the codebase with others debug plugins.
2017-04-21 00:51:14 +02:00
Michael Scherer
4bf871af36
Fix error message, since that's the rap plugin, not the GDB one
2017-04-20 23:25:38 +02:00
pancake
e5cfb20adb
Fix undefined behaviour in mach0 section
2017-04-20 16:27:24 +02:00
Anton Kochkov
babfae501c
ARM64: Add conditions for branching
2017-04-20 12:26:12 +02:00
Anton Kochkov
228457d738
ARM64: Fix Branch instructions ESIL
2017-04-19 22:06:06 +02:00
Anton Kochkov
390a4de2c2
ARM64: Add ROR esil
2017-04-19 22:06:06 +02:00
Anton Kochkov
5f4dfdf473
ARM64 - Add unsigned extension
2017-04-19 22:06:06 +02:00
Anton Kochkov
013b20e2a3
ARM64 - Add signed extension
2017-04-19 22:06:06 +02:00
Anton Kochkov
b99cb8c2b0
Fix #6358 - Add CDQE support ( #7313 )
2017-04-19 09:21:29 +02:00
alvarofe
40babe0459
Fix oob read with dbh- command
2017-04-18 19:07:14 +02:00
pancake
4b77cb2c36
Fix undefined behaviour introduced after fix in regression
2017-04-18 17:22:32 +02:00
pancake
3bb3d6a324
Use RCons.printf in RCons.history to make !~... work
2017-04-18 16:38:27 +02:00
pancake
e076734fb9
Fix #7307 - Remove harmless warnings reported by a Debian user
2017-04-18 16:22:06 +02:00
Sven Steinbauer
841707dffe
Add more str* ops for arm assembler ( #7306 )
...
* strh
* strd
* strexd
* strexh
* strb
* strbt
FIX #7251
2017-04-18 15:39:25 +02:00
Álvaro Felipe Melchor
13c91127af
Fix minor issues by clang-analyzer ( #7303 )
2017-04-18 14:03:42 +02:00
pancake
d1e8ac62c6
Fix null deref and uaf in mach0 parser
2017-04-18 13:37:33 +02:00
Sven Steinbauer
03f0ad4187
Fix #7299 - Fix handling and output for arm bic op ( #7302 )
2017-04-18 13:00:37 +02:00
pancake
076ab1a023
Get ready for 1.4.0 - codename: no comments
2017-04-18 11:11:36 +02:00
pancake
2f8d25286a
Fix #7300 - null deref in armass for mrc
2017-04-18 11:30:37 +02:00
pancake
8c656231c1
Several bug fixes in the android build scripts and other candies
2017-04-18 11:25:26 +02:00
pancake
4a6e880dc7
Fix build
2017-04-18 01:39:56 +02:00
pancake
0cd468ada4
Fix warnings in bin.wasm
2017-04-18 01:30:39 +02:00
pancake
16c73edfa5
Fix 3 null derefs and two overflows in java
2017-04-18 01:16:07 +02:00
pancake
ffe0da0fa1
Fix many more clang-analyzer null derefs and overflows
2017-04-18 00:38:24 +02:00
alvarofe
9686de1404
Refactor r_reg_arena_push to remove dead code
2017-04-18 00:59:49 +02:00
Álvaro Felipe Melchor
c65ba95cb9
Fix #7257 - bad process set up when -R in xnu + minor refactor
2017-04-18 00:35:10 +02:00
Adrian Herrera
f35f4b04c6
Fix JSON printing of exports ( #7297 )
2017-04-18 00:34:14 +02:00
pancake
5e209ecc92
Initial implementation of the anal plug for tms320c64x
2017-04-18 00:08:13 +02:00
pancake
85d2225e8a
Fix build with capstone3 (tms320c64x is not available)
2017-04-17 23:50:51 +02:00
pancake
54f6efddde
Upgrade capstone-next to get tms320c64x support and more fixes for SFC
2017-04-17 23:37:04 +02:00
pancake
acc2f19831
Fixes for the sfc plugin
2017-04-17 23:20:25 +02:00
usr_share
6d9db7e891
Implemented a sort-of-working SNES/SFC file format
2017-04-17 23:14:42 +02:00
pancake
5fc6dc30a8
Fix build
2017-04-17 23:06:44 +02:00
pancake
a66cc10d46
Fix a huge list of null derefs from clang-analyzer
2017-04-17 22:02:04 +02:00
pancake
e641318973
Fix a bunch of bugs reported by clang-analyzer
2017-04-17 19:59:14 +02:00
Pepe Vila
046a31cad4
~? shows help
2017-04-17 17:15:20 +02:00
dx
8baa2643b3
Fix escaping of JSON unicode literals ( #7294 )
...
- revert 5f1efc9d
(which adds double escaping with r_str_escape),
- re-apply 1c6a3138
(my previous commit)
- fix the recent commits 69a7e122
and 04ad4dcf
to use r_str_utf16_encode
instead of r_str_escape since the former produces "\u0000" and the
latter produces "\x00" which is not valid JSON
- partially revert 8fd10e11
which had a hack to not escape backslashes
followed by a u
2017-04-17 16:54:37 +02:00
dx
cde7747504
grep: Fix ~[x] with x higher than the total number of columns ( #7284 )
...
For example, "ii~[2]" didn't filter anything at all because the first
row only has one column
2017-04-17 13:54:16 +02:00
Anton Kochkov
82e41828ac
Fix Cygwin build [2]
2017-04-17 19:30:39 +08:00
Anton Kochkov
a8d5b68320
Fix Cygwin build
2017-04-17 19:03:30 +08:00
pancake
8fd10e11aa
Fix /xj and /j unicode escape issues
2017-04-17 12:57:04 +02:00
pancake
26f7c77a42
Fix latest covs
2017-04-17 12:43:56 +02:00
alvarofe
5f1efc9d68
Fix #7282 - escape data in /j output
2017-04-16 20:28:47 +02:00
Pepe Vila
8570f4fc5d
fixed r_types.h use in wasm ( #7292 )
2017-04-16 19:37:15 +02:00
radare
eca157603e
Revert "r_str_utf16_encode: escape backslash characters too ( #7288 )" ( #7289 )
...
This reverts commit 1c6a313821
.
2017-04-16 11:48:26 +02:00
dx
1c6a313821
r_str_utf16_encode: escape backslash characters too ( #7288 )
...
That function emits backslash escaped unicode sequences, so backslashes
should be escaped too. This fixes invalid json issues in /j
2017-04-16 11:47:04 +02:00
pancake
04ff4a5195
Fix #6428 - Honor scr.color in ad command
2017-04-16 11:41:27 +02:00
pancake
07c77484ba
Fix opsize in pij
2017-04-16 11:20:16 +02:00
pancake
eba88d8758
Honor midflags in pid and pdi
2017-04-16 11:12:41 +02:00
pancake
413f68ca79
Honor midflags in pij
2017-04-16 11:03:11 +02:00
pancake
e7b852adec
Honor midflags in pi
2017-04-16 11:03:02 +02:00
0x0dada
7327642241
Fix incorrect modes various .c files. ( #7287 )
2017-04-16 10:10:04 +02:00
Pepe Vila
910d65da02
display the help for the % command ( #7283 )
2017-04-16 09:42:30 +02:00
Jean Quilbeuf
97cb38258b
Correcting typos in type database
2017-04-15 20:03:23 +02:00
Pepe Vila
40a33b3a26
Rewrite WASM to fix all oob issues
2017-04-15 19:57:54 +02:00
Rene Laemmert
667d079b6a
Improvements in aab
...
- Add 'valid end' as function detection metric
- Fix memory leak and some cosmetics
2017-04-15 16:45:16 +02:00
pancake
08d824824e
Fix build
2017-04-15 13:29:27 +02:00
Marcel
a4fc91f29b
Remove dirent.h dependency for Windows and add utf16<->utf8 conversion function
2017-04-15 13:07:33 +02:00
Sebastien Marie
80453e0792
Fix BSD build after 94d85cad32
( #7279 )
...
Retrieve UID information from kvm interface, and pass it to
r_debug_pid_new() function.
2017-04-15 13:04:20 +02:00
Simone Ferrini
bd3fd14150
[linux-heap-glibc] fixed malloc_chunk size ( #7278 )
2017-04-15 13:04:00 +02:00
Simone Ferrini
3b7cb8323f
[linux-heap-glibc] moved free to the ritght context ( #7277 )
2017-04-15 13:03:49 +02:00
SkUaTeR
5406f44b06
Fix #7269 - drx-0 not working
2017-04-14 16:47:05 +02:00
Francesco Tamagni
a6ce0993ad
Bring back NULL checks for ds->opstr ( #7273 )
...
- fix a NULL dereference on `strstr` happening on `agf` under certain conditions
2017-04-14 14:10:24 +02:00
pancake
931654a515
Add 'fd.' command to find flags without delta
2017-04-14 10:06:06 +02:00
Sven Steinbauer
d0f70cf62e
Check for negative register values ( #7266 )
2017-04-13 23:11:04 +02:00
pancake
05cb1612d2
Fix #7268 - wrong disasm with asm.pseudo=1 and asm.cmtright=0
2017-04-13 23:10:43 +02:00
Álvaro Felipe Melchor
2f19876290
Add workaround for import without plt entry ( #7242 )
2017-04-13 15:35:50 +02:00
pancake
d2632f6483
Fix crash in fuzzed wasm r2_hoobr_consume_init_expr
2017-04-13 15:31:24 +02:00
pancake
395dc5c1e6
Fix undefined behaviour in calling conventions initialization
2017-04-13 15:04:59 +02:00
Álvaro Felipe Melchor
825caa96bc
Fix #6955 - get rid of .check in RBinPlugin and RBinXtrPlugin
2017-04-13 11:54:28 +02:00
Giovanni
e9a9ad5f43
Use stdout in rahash2 -h
2017-04-13 11:53:40 +02:00
pancake
3f041e362f
Fix crash with undefined behaviour in swift demangler
2017-04-13 02:12:08 +02:00
pancake
233a584b99
Fix oob in wasm
2017-04-12 22:23:54 +02:00
pancake
2d7e4dd9ff
Identify Android Wear DEX binaries
2017-04-12 22:23:29 +02:00
SkUaTeR
ae82588808
Fix rarun2 profile parsing on windows
2017-04-12 17:56:19 +02:00
pancake
03591de90c
Fix #7232 - rebase relocs, strings and main symbols in ood
2017-04-12 11:19:28 +02:00
Francesco Tamagni
6f2a53199e
Don't show method flags when empty in icj
( #7255 )
2017-04-12 10:47:31 +02:00
mrmacete
7bf3dd8e1b
Add defines for DEX method flags
2017-04-12 10:20:35 +02:00
pancake
4bd931731b
Add arm-ios-{16,32,64} noreturn function types and enhance tail call analysis
...
- In addition JMP to imports are considered end of function
- Add iOS arm/thumb noreturn function type definitions
2017-04-12 03:16:59 +02:00
pancake
d750500573
V; prompt on top instead of scroll
2017-04-12 03:14:56 +02:00
Francesco Tamagni
05a52327e2
Expose class method's flags ( #7253 )
...
- a superset of method flags is defined with R_BIN_METH_* constants
- a new field, RBinSymbol->method_flags holds them
- every parser can expose them
- they show up in `ic` commands and VB, either in compact form, JSON and r2 commands
- exposed them for objc and dex
2017-04-12 02:27:27 +02:00
pancake
6cc2afefc9
Add agft, aka the tinygraph
2017-04-12 02:14:56 +02:00
pancake
5d8eb24811
Preserve core->offset after aaaa
2017-04-12 02:06:29 +02:00
pancake
5af7a9e7bb
Properly honor sections with aab
2017-04-12 00:27:58 +02:00