Ahmed Mohamed Abd El-MAwgood
3bac42eda7
Improving variables on ARM (16, 32, 64) ( #5146 )
...
removing argument detection extension used in af now args are seperately detected by afCa
aa = af + afCa
using aliases as well as real registers
rewritten varsub
Fixing some of Arm esil and optimizing them for arg/var detection
2016-06-20 15:22:09 +02:00
pancake
550a91a17e
Add asm.leahints to make @defragger happy
2016-06-20 09:46:03 +02:00
pancake
4caafc964d
Refactor r_io, while fixing some bugs and use more RList
2016-06-20 00:29:41 +02:00
pancake
81c977c979
Refactor r2 -iL and add oL (load plugins before r2 -L)
2016-06-19 23:32:58 +02:00
Maijin
1117f5e19c
Fix #3874
2016-06-19 12:30:30 +02:00
pancake
59f63e5f8d
Handle Windows's noreturn call to ExitProcess
2016-06-19 12:26:58 +02:00
ekse
60220bc525
Check that a required argument was passed for a couple of commands. ( #5166 )
2016-06-17 23:17:24 +02:00
pancake
e2ab783250
Fix for regression in thumb/arm detection
2016-06-17 23:05:13 +02:00
pancake
016f5ec8ed
Fix arm on thumb bins issue
2016-06-17 19:38:37 +02:00
pancake
3b0b7db100
Fix another oobread caused by callconv
2016-06-17 18:42:50 +02:00
pancake
bfa8eb740a
Optimize callconv and fix two bugs related to op_pos
2016-06-17 18:38:25 +02:00
monosource
dc61e8c511
Change afbr description ( #5163 )
...
`afbr`'s description isn't worded properly. It doesn't actually print addresses of `ret` instructions, but of instructions which cause the flow of the program to leave the function body, like `call`, `jmp`, `hlt` etc.
2016-06-17 14:26:46 +02:00
pancake
1629dd2b64
Remove two unused fields in RAnalOp and some deadcode
2016-06-17 14:26:24 +02:00
pancake
3bbb4d098b
Refix CDIV deoptimization
2016-06-17 12:37:18 +02:00
pancake
f96f00d62d
Fix #5158 - Merge r_db into r_util
2016-06-17 12:19:16 +02:00
Joshua J. Drake
0431a0efdf
Properly handle forks on Linux 2.5.46+ ( #5153 )
...
Linux 2.5.46 made changes to the ptrace(2) API to inform a tracer when various
events occur. These are known as PTRACE_EVENTs. Start handling PTRACE_EVENTs
by:
* Handling PTRACE_EVENT_FORK and PTRACE_EVENT_EXIT
* For _FORK, stores the newly created pid in dbg->forked_pid
* Add the "dpc" command to select the most recently forked child process.
* Add the "dpc*" command to show the recently forked process' pid.
Additional minor changes to white space are included.
NOTE: This partially addresses #3549 . It does handleLinux before 2.5.46.
2016-06-17 04:20:18 +02:00
Joshua J. Drake
9f570114c7
Add "clone" to the "dcf" command ( #5161 )
...
Previously, "dcf" didn't not consider that "clone" may be used to create child
processes. Look for that and also update the text shown to the user.
2016-06-17 04:19:31 +02:00
pancake
911fef209a
Implement afbr and * sub-variants to list return addresses of current function
2016-06-17 02:50:01 +02:00
Joshua J. Drake
9c21df9272
Minor cleanups to process handling ( #5152 )
...
* Fixed 'dpk' handling (signal wasn't being groked)
* Mostly comments added
* Some eprintfs added
2016-06-17 01:59:10 +02:00
pancake
ac2a80a1ef
Fix bugs in CDIV implementation
2016-06-16 23:48:01 +02:00
Joshua J. Drake
691dd0a5c5
Make "dbt" output aligned to columns based on dbg->bits ( #5151 )
...
* Make "dbt" output aligned to columns based on dbg->bits
* Add spaces between sizeof and paren
2016-06-16 22:57:44 +02:00
UsusDei
5e7c93fc37
Add asm.hints and handle CDOV deoptimization
...
CDIV deoptimization
===================
This patch implements hints in the disassembler that
aim to assist the user in reading compiler-optimized divisions
by analysing the involved magic number.
Background
==========
Since integer divisions are usually very expensive on most architectures,
compilers try very hard to substitute them with cheaper operations.
One of the more advanced substitutions is described in the book __Hacker's Delight__,
chapter 10.
An actual implementation of the described algorithm in LLVM can be found in the
functions: `TargetLowering::BuildSDIV()` and `APInt::magic()`.
The optimization approximately transforms e.g.
```asm
xor edx, edx
idiv 39
```
into
```asm
mov eax, edi
mov edx, 0xd20d20d3
imul edx
lea eax, [rdx + rdi]
sar edi, 0x1f
sar eax, 5
sub eax, edi
```
Reading the optimized version and __seeing__ the constant 39 seems difficult.
Therefore I try to provide a small hint to the user.
Limitations
===========
* The current implementation only takes the magic number into account,
therefore it may result in false positives.
* Due to the nature of the optimization, the given hint may be off by a power of two.
Fixing this would require to analyse the following shift instructions.
* The hint is only shown in the line containing the magic number.
The user still has to know which of the following instructions belong to the optimization.
TODO
====
* Implement the corresponding analysis for unsigned integers
* Implement the corresponding analysis for 64-bit integers.
* Improve the heuristic by also looking at the next few instructions.
( I don't really know how to iterate over the instructions in the disassember
in a non-deprecated way. Maybe someone can drop me a hint? )
* Implement an exact analysis using the actual dataflow in radeco and use it
to revert the optimization. ( I suppose this is outside the scope of radare )
2016-06-16 22:22:58 +02:00
Joshua J. Drake
285cd3b32f
Minor tweaks to breakpoint handling
...
* Fix "dbm" help string
* Save <module>+<offset> as the name when using dbm
* Fix allocation patterns for "module"
* Remove commented out code
* White space fixes
2016-06-16 12:36:17 +02:00
Jeffrey Crowell
2f6d778aef
cleanup usages of r_str_newf to meet style guide
2016-06-15 19:42:03 +00:00
pancake
84aa6782f1
Add trailing newline in afbj
2016-06-15 13:41:45 +02:00
Riccardo Schirone
04190287c1
core: fix uber confusing indentation in cmd_anal "afl" command
2016-06-15 11:15:42 +02:00
pancake
1bdcb740dc
Fix regressions introduced in last commit
2016-06-15 00:23:44 +02:00
pancake
e032a48cbe
Fix latest 26 COVs
2016-06-14 23:47:58 +02:00
Álvaro Felipe Melchor
7fa01a72ed
add breakpoints into project file
2016-06-14 23:34:42 +02:00
robbje
a772452d27
Cgs ( #5126 )
...
* refactor function listing code
* adhere to style guide
* use tabs instead of spaces
* recover default behaviour for afi commands
* work in commentary and fix the two regression tests I broke
* some more cosmetic changes
* shorten function names
2016-06-14 17:54:17 +02:00
pancake
e4af7f9b23
Fixes for ELF/Thumb detection handling
2016-06-14 14:36:03 +02:00
pancake
21a01d08fe
Fix warnings in debug.linux.coredump
2016-06-10 04:20:28 +02:00
pancake
702394caf9
Fix string flags realignment in disasm
2016-06-14 01:52:46 +02:00
pancake
56af25e5b5
Update r_core_sysenv_end
2016-06-14 01:33:46 +02:00
pancake
eda7899adc
Various enhancements to aae
2016-06-14 01:30:40 +02:00
radare
60ac486de1
Merge pull request #5117 from radare/arm-fixes
...
ARM fixes
2016-06-13 17:26:16 +02:00
pancake
e935aca270
Set esil->address before calling esil.parse
2016-06-13 15:05:48 +02:00
Ahmed Mohamed Abd El-MAwgood
0027246ec4
Fixing arguments docs
2016-06-13 13:09:46 +02:00
pancake
3d9bea75ab
Fixing some ARM regressions
2016-06-13 10:13:28 +02:00
pancake
889ff52f37
Bring back the previous disasm changes
2016-06-12 23:42:40 +02:00
pancake
b829244c19
Fixes for thumb/arm string references and endian refptr
2016-06-12 23:42:37 +02:00
Ahmed Mohamed Abd El-MAwgood
13d8e65426
Enhancing comments for vars/aegs ( #5127 )
...
Adding locality properity to variable and argument comments
the old implementation made use of the standard r_meta functions to create comments using the frame offset as the address. this caused problems because more than one function might have variable at the same offset (with respect to each ones stackframe). so they will overwride each others comments.
adding `base64:` feature
prevening CC from processing var/args comment (in wrong manner)
2016-06-12 23:39:40 +02:00
pancake
3081b3b5d6
Fix ? floating point values
2016-06-12 22:50:20 +02:00
Maijin
f3ee978361
Fix typo Cr -> Cv
...
@oddcoder
2016-06-11 12:55:09 +02:00
Ahmed Mohamed Abd El-MAwgood
b7c4d1eeb0
enabling Commenting using both index as well as name ( #5118 )
2016-06-11 11:07:58 +02:00
Jeffrey Crowell
7c3fb53a5e
fix disassembling 'backwards'
...
(e.g. pd -5) producing wrong output
fixes #5105
2016-06-11 10:59:42 +02:00
Ahmed Mohamed Abd El-MAwgood
2d76ac0383
Implementing comments on arguments and vars ( #5115 )
2016-06-10 18:08:12 +02:00
pancake
11fde024c0
Fix asm.emu issue
2016-06-10 16:31:37 +02:00
pancake
d1b5737a59
Add anal.vinfunr
2016-06-10 15:31:38 +02:00
pancake
3ffffd367f
Only show fcn bit mode if different than current one
2016-06-10 10:57:43 +02:00
HummyPkg
b9aea669d3
Background web server does not honour port parameter
2016-06-09 23:43:42 +02:00
pancake
c65edef137
Always store fcn->bits info on analyze
2016-06-09 23:34:55 +02:00
pancake
91e6b11b11
Add another noreturn function for uclibc
2016-06-09 23:34:52 +02:00
pancake
2ca927caea
Add anal.vinfun for aav (only grab values outside function boundaries)
2016-06-09 21:52:25 +02:00
Álvaro Felipe Melchor
f018c2e727
Fix #5106
2016-06-09 18:17:51 +02:00
pancake
8340b342c4
Fix crash in last commit
2016-06-08 23:33:31 +02:00
Karol Harasim
df8fba3364
Get rid of global ESIL vars in disasm.c ( #5102 )
2016-06-08 21:16:00 +02:00
Ahmed Mohamed Abd El-MAwgood
000c602348
FIX #5096 ( #5101 )
2016-06-08 18:13:36 +02:00
reenz0h
832abcca8c
pX command removal ( #5099 )
...
pX command is a left off from some old docs. Removing it from help message 'p?'
2016-06-08 12:43:07 +02:00
pancake
6e68c8de6b
Use /m as default webui on all platforms
2016-06-08 09:32:54 +02:00
Jeffrey Crowell
0e688df308
style fixup for str.c r_util.h
2016-06-08 01:39:07 -04:00
Jeffrey Crowell
f92b37956a
fix eval command truncating binary to 8 bits
...
closes #4975
add new function r_str_bits64 to convert any number to a 64bit binary
value.
2016-06-08 01:31:55 -04:00
pancake
8b78da200e
Implement 'ecoj' command to list themes in JSON format
2016-06-07 23:19:42 +02:00
pancake
95af521700
Fix #5087 - properly reload project files
2016-06-07 22:38:29 +02:00
monosource
15f22752b4
Add _R to document pxA ( #5095 )
2016-06-07 14:00:48 +02:00
pancake
24aec5be8c
Fix all latest COVs
2016-06-07 10:03:04 +02:00
pancake
0845add4cf
Implement relocs for ELF-powerpc
2016-06-07 00:12:45 +02:00
Álvaro Felipe Melchor
649748a8f2
Fix #5074
2016-06-06 22:40:34 +02:00
pancake
608b79d2b4
Finally fix the build on osx-ppc
2016-06-06 17:30:07 +02:00
Karol Harasim
c1eb8253c2
Add support for 'pf [size]D' ( #5063 )
2016-06-06 10:36:09 +02:00
pancake
12d8fbca15
Fix crash in aoe
2016-06-06 10:16:26 +02:00
chinmaydd
68a7fb5ebd
Adds initial support for aoe and aor
2016-06-06 09:49:48 +02:00
Ahmed Mohamed Abd El-MAwgood
7f48af3332
re construction argument/var commands ( #5082 )
...
afa for base pointer arguments/vars
afe for stack pointet arguments/vaes
afv for registers
fixing the J and \0 suffix
using the right register indexer
fixng the negative offsets of afa
fixing the afa afe afv views of pdf
fixing errors in aa
fixing the stack bases arg/var
fixing the varsub
fixing afa*
fixing afat
making afx- space neutral
enabling register renaming at varsub
updating the built-in help
adding r_reg as dependency for r_parse
2016-06-06 00:33:42 +02:00
oblique
f06e11b6f4
Fix warnings ( #5078 )
...
* Fix gcc warnings
* Fix strtoull return
2016-06-06 00:33:11 +02:00
Anton Kochkov
68ef35f635
Uniform name RUndos -> RIOUndos (for bindings)
2016-06-02 07:34:06 +03:00
pancake
d3394d5a7a
Fix latest 28 COVs
2016-06-02 03:19:31 +02:00
Rene Laemmert
2740e74e49
added cursor to undo seek history ( #5054 )
...
* added cursor to undo seek history
* cleanup the mentioned parts
2016-06-01 12:16:00 +02:00
pancake
88b71663c0
Fix more trailing spaces in dwarf and comments
2016-05-31 23:37:17 +02:00
pancake
f915412293
Fix some trailing spaces in asm.dwarf
2016-05-31 22:13:54 +02:00
Karol Harasim
92018cc381
Add ah. command to show hints in current offset. Fix ah? too. ( #5045 )
2016-05-31 11:50:35 +02:00
oblique
be4b061eda
r_str_ansi_crop: Reset color on new line ( #5048 )
...
Fixes #5036
2016-05-31 11:50:12 +02:00
pancake
176a735927
Add cmdf callback and license in RLang
2016-05-31 02:32:30 +02:00
pancake
c64eeaa266
Initial implementation of asm.assembler to select different assembler plugin than the disasm
2016-05-30 18:53:32 +02:00
Karol Harasim
c34181af02
Disasm refactorings. ( #5043 )
2016-05-30 12:35:39 +02:00
oblique
f8836c19b5
Fix glitch in disasm ( #5031 )
2016-05-30 04:22:20 +02:00
oblique
238cf897b8
Fix ptr comment colorization ( #5032 )
2016-05-30 04:20:04 +02:00
pancake
4de809061a
Add MJMP optype, pxt command and enhance anal.jmptbl for x86-64 (wip)
2016-05-30 04:18:48 +02:00
pancake
71537eedf0
LEA instructions get hotkeys in visual disasm too
2016-05-30 02:12:17 +02:00
pancake
16d0396b8f
Fix /A, add MJMP optype, and op.reg for UJMP
2016-05-30 00:38:35 +02:00
Ahmed Mohamed Abd El-MAwgood
0c2b3d7391
removing trailing spaces from t commands ( #5028 )
2016-05-29 11:37:59 -04:00
Chinmay Deshpande
1cffc55fe0
Adds autocompletion for afan ( #5016 )
...
* Adds autocompletion for afan
* Removes duplication
2016-05-29 10:38:17 +02:00
@bezjaje
dcac88091b
Fixed typo in setting "gp" value in disasm ( #5017 )
2016-05-27 13:24:42 +02:00
pancake
62ca3a6d63
Fix #5021 - dbc argument parsing issue
2016-05-27 13:14:43 +02:00
Ahmed Mohamed Abd El-MAwgood
f65e56364a
Adding colors to r2 2048 ( #4994 )
2016-05-26 16:58:02 +02:00
pancake
132b173b87
Refactoring $B and decompose $F into $FB $FE $FS and $FI + code cleanup
2016-05-25 23:34:06 +02:00
Roi Martin
45c36da9c3
Save scr.highlight in project files ( #5008 )
2016-05-25 18:20:50 +02:00
Roi Martin
6a07243934
Fix warning
2016-05-25 16:11:04 +02:00
Roi Martin
45efee7855
Do not output highlighted text when saving projects ( #5004 )
2016-05-25 16:03:41 +02:00
Roi Martin
66b53e049b
Fix regression @..
2016-05-25 01:24:52 +02:00
pancake
18016c4ce7
Fix some warnings introduced recently
2016-05-25 00:44:41 +02:00
Sven Steinbauer
547f8bbc5c
Infer fixes Round 2 ( #4993 )
2016-05-24 22:22:15 +02:00
pancake
d9636a9738
Fix some more clang analyzer warnings and cleanup
2016-05-24 14:54:34 +02:00
pancake
c36b299073
Fix some null deref and rarun2 chroot escape vuln
2016-05-24 12:32:45 +02:00
Anton Kochkov
4ce37e8083
Fix CID 1356013, 1356012
2016-05-24 10:59:16 +03:00
Anton Kochkov
636a1fea00
Fix CID 1356011
2016-05-24 10:57:17 +03:00
Roi Martin
6dca1e31bb
Avoid searching out of bounds
2016-05-24 03:13:06 +02:00
pancake
fc61108f72
Fix pvj - make /enyo and /p happy
2016-05-24 03:09:24 +02:00
pancake
86213ba555
Fix #4915 - avoid naming functions as registers
2016-05-24 01:47:09 +02:00
Roi Martin
00626b9b02
Add temporary range operator @.. ( #4986 )
2016-05-23 23:41:39 +02:00
Álvaro Felipe Melchor
1f4e005991
added izqq/izzqq in r2 to list only strings
2016-05-23 22:54:00 +02:00
gk
0461e567e9
Fix #4927 - Add rabin2 -qqz to list only strings (no offsets or sizes)
2016-05-23 22:53:40 +02:00
pancake
b28d5e0a9c
Fix android build
2016-05-23 21:54:42 +02:00
Álvaro Felipe Melchor
fb52d91d95
fix oob in seek line
2016-05-23 22:07:32 +02:00
Sven Steinbauer
eef32d0260
First few fixes for infer scans
...
Fixes a few memleaks and several NULL dereferences
Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2016-05-23 11:25:44 +02:00
Roi Martin
4cf81df3bc
Fix #1476 : respect search.from and don't seek on /m ( #4973 )
2016-05-23 11:25:17 +02:00
Ahmed Mohamed Abd El-MAwgood
23f4f00b78
fixing the tp ( #4968 )
...
bug
tp unsigned char * ebp + 0x25
it will be difficult to differ from the address and the type
but this way we will use `=` as way to differ
2016-05-22 12:28:05 +02:00
pancake
3c1462f876
Fix the tp test
2016-05-21 19:51:41 +02:00
zlowram
60b62560f1
Added anal hints to specify type base on disasm
2016-05-21 19:47:49 +02:00
pancake
4de93b2703
Fix coredump file generation
2016-05-21 15:11:16 +02:00
pancake
7ad752f038
Remove the sandbox and fix more bugs in linux-core
2016-05-21 14:40:09 +02:00
pancake
b8af249dc4
Press any key in Vv:
2016-05-20 17:20:06 +02:00
pancake
1aff4b141d
Fix #4959 - Fix linewrap in Vv
2016-05-20 17:11:29 +02:00
pancake
52bfedc5ce
Avoid null deref in info->arch
2016-05-19 12:30:20 +02:00
pancake
a8d33e75a6
Add ?V? and ?Vq commands
2016-05-19 03:42:23 +02:00
Riccardo Schirone
23fee01ebd
core/disasm: fix wrong reflines/fcnlines to the left of var/arg defs
2016-05-19 01:58:53 +02:00
Riccardo Schirone
8727840e90
anal/fcn: use getter/setter to access the size of a RAnalFunction
...
This is one of the first steps to improve analysis. This way we'll have
one single place to change if we want to change the meaning of the
"size" field. (size -> realsize)
2016-05-19 01:50:50 +02:00
Riccardo Schirone
8306463ae2
core/visual: fix cursor that jumps to wrong (next) instruction
...
When you use the cursor and press ENTER to jump to a target which is not
visible, it will go to the next instruction after the right target.
This patch should fix that behaviour.
2016-05-19 01:46:45 +02:00
pancake
c967514443
Add support for quiet and json listing of rasm2 -L and e asm.arch=?
2016-05-19 00:38:33 +02:00
Jeffrey Crowell
f96f7802ae
s/c-link/c-like in pdc help
2016-05-18 14:54:28 -04:00
zlowram
bba1d404ca
Added '?' message for wop command ( #4942 )
2016-05-18 15:50:24 +02:00
pancake
3973bc01a0
Fix #4926 - Add prz
2016-05-18 12:21:49 +02:00
pancake
4e9985d97c
Initial work to support #4939
2016-05-18 12:19:27 +02:00
pancake
6f243c47d7
Fix valgrind issues in Cs
2016-05-18 12:08:57 +02:00
pancake
3c0feea6cb
Fixes for http.homeroot
2016-05-18 12:03:07 +02:00
Ahmed Mohamed Abd El-MAwgood
f7c47bf575
fixing all Use-after-free errors reported by llvm ( #4924 )
2016-05-18 11:41:12 +02:00
Joshua J. Drake
79d57a4084
Don't override a user's cmd.prompt setting ( #4933 )
2016-05-18 10:01:39 +02:00
Jeffrey Crowell
1c69a920b6
rm free of iterator, fix leak
2016-05-17 23:44:14 -04:00
pancake
21bb0d8050
Fix Cs/Cz parameters parsing
2016-05-18 02:29:41 +02:00
Riccardo Schirone
bcf696ea14
core/cmd_meta: remove very old code that breaks metadata tests ( #4935 )
2016-05-18 01:26:12 +02:00
pancake
045faa6b10
Do not show xrefs in pds
2016-05-17 23:41:49 +02:00
pancake
f1a0a3eaab
Fix black nodes problem with ag
2016-05-17 17:41:07 +02:00
Riccardo Schirone
d102ed6732
core/visual: fix cmd_visual test case
...
Without this patch, if you run a visual command that involve the
cursor directly, the cursor will not be set.
2016-05-17 13:18:23 +02:00
Riccardo Schirone
eb8e9aaad1
core/cmd_meta: it can build again
2016-05-17 11:17:29 +02:00
pancake
2e06158c71
Handle -- in rarun2
2016-05-17 10:36:33 +02:00
Anton Kochkov
c75b584c7e
Fix CID 1355257
2016-05-17 10:15:51 +03:00
Anton Kochkov
f943afe94a
Fix CID 1355259
2016-05-17 10:12:41 +03:00
pancake
8ffa7e2b62
Fix all p*0 tests
2016-05-17 00:37:47 +02:00
pancake
52b0b0141b
Bring back the --true|false-- in pdr
2016-05-17 00:12:42 +02:00
pancake
c94145242f
Fix #4739 - Do not run cmd.bp twice
2016-05-16 23:17:03 +02:00
Álvaro Felipe Melchor
f6a0cfbcb9
fix pxw endian issue
2016-05-16 23:05:06 +02:00
Hamish Coleman
5f40ac8ad6
Implement jump delay analysis ( #4901 )
...
* Add archinfo details
* Add register profile details
* Show jump delay analysis - allows writing regression tests
* Fix decoded size of four-byte NOP
* Fix bugs found writing regresion tests:
** Jumps are not relative
** cut-and-paste error with some calls
* mark an illegal load destination
* Remove special case for the ignored aa field in load
* Factor mode_zz handing into its own function
2016-05-16 21:48:52 +02:00
pancake
28f64c83b9
Fix #4897 - Rename /# into /h
2016-05-16 21:48:22 +02:00
Joshua J. Drake
fed2998627
Fix "pxrj" output ( #4908 )
2016-05-16 21:07:05 +02:00
pancake
50a46a954f
Sort bbs by offset in pdr and drop the noisy true/false
2016-05-16 04:39:58 +02:00
pancake
9cb987c091
Enhance afl output with color and fcnsize vs fcnrange hints
2016-05-16 04:06:45 +02:00
pancake
c627fb3bec
Add colors in afll and fix max stack
2016-05-16 03:46:23 +02:00
pancake
dad8b434c4
Show real function size by default in afl
2016-05-16 03:06:39 +02:00
pancake
5239a8c599
Fix #4789 #4621 #4598 - implement afll : a verboser function list
2016-05-16 02:56:48 +02:00
pankajkataria
9a6c6e9e60
Updated-afl
2016-05-16 02:15:28 +02:00
pancake
d9cdd29268
Fix endian issue in crc16 and crc32
2016-05-16 02:08:59 +02:00
pancake
5683e45cb2
Move hash commands from # to ph
2016-05-16 02:08:55 +02:00
Álvaro Felipe Melchor
6b827c1563
Fix #4796 - Add dbm aka module relative breakpoints
2016-05-16 01:00:11 +02:00
pancake
a2fb171a37
Add R2PM_WWWROOT, update www-t and add http.homeroot r2 var
2016-05-16 00:59:29 +02:00
pancake
23dcb486ea
Fix some minor memory leaks, Properly make check_fcn public
2016-05-15 02:43:10 +02:00
pancake
65ffbb12ce
Fix wwwroot for android
2016-05-14 16:27:58 +02:00
pancake
83c3f5cd3f
Add v alias for V
2016-05-14 16:42:41 +02:00
Riccardo Schirone
c169073c74
Fix #4080 : remove assumption that functions are contiguous
...
* anal/p/anal_java: remove function that does nothing
* anal/fcn: workaround for java analysis
2016-05-14 16:37:24 +02:00
Ahmed Mohamed Abd El-MAwgood
7ab187841f
Add initial support for asm.calls
2016-05-14 11:04:07 +02:00
pancake
02eb896897
Handle data refs in dalvik analysis
2016-05-14 10:40:03 +02:00
Riccardo Schirone
1c7119401a
core/graph: improve layer assignment algorithm
...
It should fix some layer problem on some binaries like ls-linux64 and in
the presence of self-loop. The previous algorithm could assign the same
layer to two nodes that are connected with an edge (and it should never
happen, because they have to be on different layers).
This patch uses the topological sort of a graph to assign the layer.
2016-05-14 10:37:55 +02:00
Sven Steinbauer
278c868693
Add autocomplete for wxf
...
Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2016-05-13 11:33:16 +02:00
rene
695d9a0d04
added shortcuts for every node in graph view
...
fixes mentioned in the pr
fixed the Vp issue mentioned in the pr
fixes the mentioned parts
changed reallocation size
Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2016-05-12 23:49:30 +02:00
Rakholiya Jenish
502870f07b
list all encoders/decoders supported by woE/woD and rahash2 -E/-D ( fix #4851 )
...
list all encoders/decoders supported by woE/woD and rahash2 -E/-D (fix #4851 )
2016-05-11 22:25:54 +02:00
pancake
8b61811a75
Do not set asm.bits depending on CPSR to give more freedom to the user
2016-05-11 15:38:26 +02:00
pancake
3d89f2cc21
Add RAnal.Stack.RESET and handle it for arm64
2016-05-11 12:59:32 +02:00
Sven Steinbauer
45093ffb49
Fix #4751 - Add wxf command
2016-05-11 11:58:26 +02:00
pancake
9a86edb6b3
Use '0' in visual to seek at the beginning of the function and fix r2 -AAAAA
2016-05-11 04:25:16 +02:00
pancake
0baacfe852
Fix use of aae in aaaa
2016-05-11 04:09:39 +02:00
pancake
242fd0309d
Add arm64 support for aae
2016-05-11 04:07:51 +02:00
Riccardo Schirone
15c1197636
util/print: use screen_bounds to store the first non visible address
2016-05-10 22:15:24 +02:00
Sven Steinbauer
97a8fe9657
Make graphviz config options clearer
2016-05-10 22:12:50 +02:00
pancake
cf94e318ac
Fix #4795 - pcp for > 256 blocks
2016-05-10 00:39:31 +02:00
pancake
eabe6512f2
Fix #4815 - Implement HexII print format (ref: http://corkami.googlecode.com/svn/trunk/src/HexII/ )
2016-05-10 00:18:21 +02:00
Álvaro Felipe Melchor
b7cc6c04d7
LDID parse signature in mach0 binaries
...
* added iC command to show signature info
in the case of mach it shows entitlements
* added rabin2 -OC to get signature info from binary
* change swap to r_read_bleX new API
* change eprintf to r_cons_printf
* add const char in plg->signature
2016-05-09 23:42:28 +02:00
pancake
9100a21da5
Fix #4831 - aeim creates a section for io.sectonly=true
2016-05-09 23:23:45 +02:00
pancake
a64622606c
Do not show analysis messages when -q
2016-05-09 19:01:37 +02:00
pancake
735ec47da4
Fix #4816 - load libraries if bin.libs=true (wip)
2016-05-09 17:24:12 +02:00
Ahmed Mohamed Abd El-MAwgood
00faea8023
FIX #4782 : adding afCa to r_core_anal_all ( #4805 )
2016-05-09 16:04:54 +02:00
pancake
91a052f971
Fix #4817 - Deprecate file.analyze
2016-05-09 11:33:17 +02:00
pancake
8a05a74cfb
Fix #4819 - honor arrows in V!
2016-05-09 11:13:37 +02:00
pancake
47b861b975
Update seek command help
2016-05-09 10:58:06 +02:00
pancake
7676272b18
Add sj and s= commands
2016-05-09 10:39:19 +02:00
Damien Zammit
5e1ad580db
build: fix warnings
2016-05-08 12:21:11 +02:00
Rakholiya Jenish
3019bb477c
Add support for punycode via woE and woD and rahash2
...
Also add aes-cbc support by getting IV from user
2016-05-07 12:31:13 +02:00
Damien Zammit
632dccc217
Remove LIL_ENDIAN macro and configure option
...
TODO: Remove other endian cruft from:
- hashing algs
- judy
- squashfs
- grub
- tms320
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-05-06 10:21:55 +02:00
pancake
abf63d018f
Fix memleak reported by coverity
2016-05-05 16:30:55 +02:00
pancake
bbb7b8412b
Implement experimental cmdback in rap server and client
2016-05-05 01:20:23 +02:00
pancake
a32357f55a
Cleanup rtr.c
2016-05-04 23:32:29 +02:00
Ahmed Mohamed Abd El-MAwgood
d08de89727
Add support for esp register in afCa afCa
2016-05-04 22:20:58 +02:00
Rene Laemmert
0595fbf4f6
Fix #4760 removed aap from aaaa
2016-05-04 22:19:50 +02:00