Paul
10db9ed827
pdf/pdr/anal fix ( #5709 )
2016-09-09 19:28:47 +02:00
jvoisin
9fdc110816
Fix a typo
2016-09-09 14:52:29 +02:00
Vlad Ivanov
c82e9d7867
anal: fix aae command arguments handling
2016-09-09 14:34:15 +02:00
pancake
59c72bed21
Fix #5715 - Show ?0 variables in ?$
2016-09-09 14:29:42 +02:00
Anton Kochkov
b86f1c471d
Add , help
2016-09-08 13:24:42 +03:00
Álvaro Felipe Melchor
7826f7fda7
fix crash due to latest changes in anal
2016-09-07 20:06:36 +02:00
Vlad Ivanov
676d4dbc2d
core: anal: ref R_ANAL_REF_TYPE_CALL for R_ANAL_OP_TYPE_UCALL ( #5706 )
2016-09-06 23:00:59 +02:00
dromero
d250d21385
Fix for the #5671 issue ( #5704 )
2016-09-06 12:02:38 +02:00
Maijin
8b413f101e
asm.relsub=true by default
...
asm.relsub=true by default
2016-09-06 10:22:57 +02:00
pancake
2952120e88
Add p=0 and p=F
2016-09-06 05:17:44 +02:00
pancake
6df53f8bb1
Fixes for enum types in t and pf
2016-09-06 04:29:42 +02:00
pancake
6fabf7acc2
Set leahints to false by default
2016-09-06 02:48:01 +02:00
Paul
30a0987c0a
Various analysis enhancements
...
* Updated anal.nonskip is updated
* Possible infinite recursion fix
* anal.hpskip is added (false by default)
* mips fix; build fix; flag_exist_at callback is added
* nopskip fix
* asm.leahints fix
2016-09-05 20:42:04 +02:00
Anton Kochkov
c23c5971a2
Fix macroses help
2016-09-05 04:45:41 +03:00
Ahmed Mohamed Abd El-MAwgood
38f8f7bf60
fixing bug in anal type matching
...
It should stop its work if the calling convention is not found
2016-09-04 19:13:10 +03:00
BlueC0re
c4f301e52e
Fix null pointer deref in meta variable comments
2016-09-04 16:58:00 +02:00
pancake
dad6847883
Add zG exact-match zignatures support
2016-09-04 14:13:08 +02:00
pancake
07656c523b
Fix #5684 - Add cfg.minzlen to force minimum length as valid zignatures
2016-09-04 14:02:27 +02:00
pancake
e3e95d1f4c
Implement optimized zo command
2016-09-04 13:54:37 +02:00
pancake
e6324bcc62
Add zo command and fix build
2016-09-04 13:44:02 +02:00
Álvaro Felipe Melchor
4d82d3b3bb
fix build
2016-09-04 13:43:31 +02:00
pancake
69cefa1442
More fixes for agv path discoverty
2016-09-04 13:31:37 +02:00
NighterMan
9f7ebda012
Fix for invalid JSON ouput on search cmd
2016-09-04 12:17:46 +02:00
pancake
6b5e4f151b
Add core.breakLoop for 1000ds and fix 'ds #'
2016-09-04 01:05:14 +02:00
pancake
e4948d4c28
asm.emustr enables asm.emu automatically
2016-09-03 20:31:30 +02:00
pancake
b3ccf6387c
More checks for agv
2016-09-03 17:57:30 +02:00
pancake
0db8170801
Fix latest covs
2016-09-03 17:26:56 +02:00
pancake
ea09d9df2b
Fix pxr0 regression
2016-09-03 17:08:02 +02:00
pancake
320a4aad25
Fix #5573 - avoid bad names in functions after af
2016-09-03 14:57:59 +02:00
pancake
bd15b62ed0
Always run afva from af if anal.vars is set
2016-09-03 14:53:34 +02:00
pancake
1ad646698e
Add ?w and drop anal.vars check in afva command
2016-09-03 14:22:31 +02:00
pancake
daacec5753
Fix #5668 - Honor =H arg path
2016-09-02 20:57:45 +02:00
pancake
90fee6d5dd
Fix regression logic in agv and update help
2016-09-02 20:00:16 +02:00
pancake
7c0f154dea
Fix #5627 - Iterate over all instructions with @@i
2016-09-02 18:11:56 +02:00
pancake
6b1a0677fd
Revert "Remove agv fix #5662 "
...
This reverts commit 1248617989
.
2016-09-02 17:14:52 +02:00
Maijin
aab6ebf06b
Remove afna false-positive
2016-09-02 16:48:25 +02:00
Maijin
1248617989
Remove agv fix #5662
2016-09-02 14:11:42 +02:00
Vlad Ivanov
19d4154e39
anal_xtensa: initial ESIL support
2016-09-01 22:50:28 +02:00
pancake
4429de16f9
Fix pa/pad for big/lil endian
2016-09-01 22:34:28 +02:00
Wladimir J. van der Laan
d8941295e6
Fix off-by-one error in afx- handling ( #5664 )
2016-09-01 21:02:38 +02:00
Tiago Gasiba
f0a2d8657d
Add support for conditional breakpoints running r2 commands
2016-09-01 19:11:46 +02:00
pankajkataria
9fa781becc
Add av* and avj to show vtables in r2 and json formats
2016-09-01 11:13:06 +02:00
pancake
722e568d66
Implement drb[1,2,4,8]
2016-08-31 11:25:18 +02:00
Tiago Gasiba
7a79e801ff
Fix 5649 - afu documentation ( #5659 )
2016-08-31 10:32:54 +02:00
pancake
b1480739eb
Add @@b iterator for all the basic blocks
2016-08-31 03:32:12 +02:00
pancake
1ef0944cf5
Fix #5657 - aap segfaults
2016-08-31 03:17:51 +02:00
Ahmed Mohamed Abd El-MAwgood
c474aa5a9f
Fixing nasty bug in CC implementation ( #5650 )
...
That is not the kind of bug I see everyday
1- calling convention db is loaded
2- function cc types is initialized by project file, that string is only
one copy across the whole database for memory efficiency.
3- The db is reloaded due to change in arch or what ever, Old strings
are freed and new one is created with totally new address. Most cases it
just reload the same database.
4- Addresses in function cc types are not updates, they are already
freed at reloading db step
Solution implemented at db reloading step:
1- create new temp db with all possible available calling conventions and
the adresses in memory of these calling conventions
2- once db is reloaded, grab adress of cc from function, match it with
the name in the new temp db, then replace it with the constant value
from the newly loaded db
2016-08-30 15:47:04 +02:00
pancake
b95ab62f05
Fix #5646 - Division by zero in asm.hints
2016-08-30 15:44:52 +02:00
BlueC0re
b11298b8f7
fix visual mark target address ( #5637 )
2016-08-29 20:20:10 +02:00
Ahmed Mohamed Abd El-MAwgood
912bc40327
Initial support for afta command
2016-08-29 20:19:05 +02:00
Riccardo Schirone
530ee2d06f
bin: fix elf program header name INERP -> INTERP
...
core/cmd_print: update pf help message
2016-08-29 12:29:30 +02:00
Akihiko Odaki
2a64686981
Fix #5634 : Use 32 bit calling convention for ARM Thumb
2016-08-29 11:39:50 +02:00
pancake
6d040b2f71
Syntax indentation fixes in mach0 and cbin
2016-08-29 01:09:10 +02:00
Tiago Gasiba
520106bac9
Fix #5556 - prints all hashes, even if have gap between the bits
2016-08-28 19:36:59 +02:00
Álvaro Felipe Melchor
84e871e456
Fix #5476 - fix UAF executing twice izz~:0
2016-08-28 17:36:18 +02:00
Tiago Gasiba
3e21569722
Fix dbic <num> <cmd> Arg parsing
2016-08-28 15:48:38 +02:00
Tiago Gasiba
e686af49aa
Make !? help available via ?!
2016-08-28 13:41:06 +02:00
pancake
220a0b46bd
Fix #5554 - Update !? help
2016-08-28 13:40:41 +02:00
pancake
7cf0e1b633
Fix r2pipe:// (initial \x00 issue and cmd chop messages properly)
2016-08-27 02:32:43 +02:00
SkUaTeR
8b17834eb5
Fix command do in windows, fix dr command to get segments registers, …
2016-08-26 23:51:56 +02:00
Pankaj Kataria
16502dbe90
Updated av to fix recent regression
2016-08-26 22:12:13 +02:00
BlueC0re
40aa48681d
Fix vmarks and save them in the project
...
removing deletion of marks after dump and using UT64_MAX as an unset flag throughout the code.
2016-08-26 21:35:10 +02:00
BlueC0re
6f314bf0db
fix immediate base setting in visual mode
2016-08-26 20:02:02 +02:00
BlueC0re
0ad02a8afc
fixed missing newline in graph help menu
...
Was almost hiding the function callgraph keybinding.
2016-08-26 20:01:31 +02:00
Phil
ee7216a117
Fix typos in cmd help msg
2016-08-26 20:01:15 +02:00
pancake
64d91ce2fb
Add scr.color.bytes and rename scr.colorops to scr.color.ops
2016-08-25 20:31:45 +02:00
pancake
30e3d06dbf
Fix #4814 - Make asm.reloff less confusing and add experimental asm.reloff.flags
2016-08-25 20:17:55 +02:00
pancake
2670953678
Initial boolification of the DisasmOptions struct
2016-08-25 18:55:09 +02:00
zlowram
fb4a895d9a
Fix #5571 - Add e asm.cmtrefs
...
Disabled by default. When enabled, it shows the flag and comment that is at the ref of the current instruction.
2016-08-25 18:41:49 +02:00
pancake
a74fed4fdf
Fix infinite loop in r2 -e cfg.editor=- -c- --
2016-08-25 17:46:08 +02:00
Ahmed Mohamed Abd El-MAwgood
12ba06aab6
Fixing coverties in anal_tp.c ( #5606 )
...
CID 1361922
CID 1361920
2016-08-25 14:55:22 +02:00
Ahmed Mohamed Abd El-MAwgood
ee30afde45
Fixing infinite loop issue ( #5601 )
2016-08-25 11:26:35 +02:00
Álvaro Felipe Melchor
7df4fc3ce4
Fix some coverities
2016-08-24 22:02:38 +02:00
pancake
a3ce21645e
Fix infinite loop in afm
2016-08-24 16:47:41 +02:00
pancake
e3c8b637f6
Update help for 'af' and handle invalid af subcommands
2016-08-24 16:45:55 +02:00
Sebastien Marie
2e0434d211
spelling namepsace->namespace ( #5596 )
2016-08-24 16:30:23 +02:00
Álvaro Felipe Melchor
34c6e3e1a1
Fix #5543 - oob write in Sr command ( #5598 )
2016-08-24 00:23:14 +02:00
Wladimir J. van der Laan
da564f28ee
Remove unused field addr from SymName
2016-08-24 00:01:40 +02:00
Wladimir J. van der Laan
fb196362e1
Handle NULL strings in r_bin_demangle ( #5587 )
2016-08-23 13:11:30 +02:00
Ahmed Mohamed Abd El-MAwgood
4a3c341ade
Fixing more bugs in type matching ( #5586 )
...
* Fixing more bugs in type matching
* Adding functionality to restore ESIL env var state before aftm was issued
2016-08-23 13:10:15 +02:00
pancake
4f1c50f7f5
Code cleanup and reindent in visual/core
2016-08-23 03:02:23 +02:00
pancake
0b86c2ac55
Fix memleaks and r2pipe annoyance with izz
2016-08-23 01:39:16 +02:00
pancake
2f73865c5c
Fix #5572 - show disasm in Vx and also fix build
2016-08-22 18:44:52 +02:00
pancake
fd0810fbf1
Fix memleaks in av, lot of anal code cleanup and do not always allocate bb->diff
2016-08-22 18:32:18 +02:00
Wladimir J. van der Laan
b68c345948
Add stackptr to aOj output ( #5582 )
...
It's 10:00 PM, do you know where your stack pointers are?
2016-08-22 18:07:15 +02:00
zlowram
97103102f4
Fixed warnings ( #5579 )
2016-08-22 13:26:35 +02:00
Alexandru Caciulescu
4bf045b5da
Coverity patch + refactor ( #5574 )
2016-08-22 12:39:21 +02:00
Rakholiya Jenish
18cd2f5ec5
anon pf struct and add n/N
...
add anon nested struct help and fix tests
fix tests
minor changes
add support for unsigned and signed char, short, int and long long
add help
cleanup
minor fix
2016-08-22 11:25:52 +02:00
Ahmed Mohamed Abd El-MAwgood
29bf4e2fe2
fixing bugs with tp ( #5567 )
...
- Fixing (type matching with esil into non initialized stack)
- FIXING CIDS in anal_tp.c and var.c
- CID 1361741
- CID 1361734
- CID 1361731
2016-08-22 11:22:22 +02:00
zlowram
8a08de39ec
Improvements on zignatures generation and new mataching command
...
- Generation of zignatures were to specific to be useful. They were
generated by getting the first 128 bytes of the functions defined,
as is. Now, it generates more generic signatures by getting the
whole function bytes and masking out all the operands.
- New z. command, that performs zignature match by function. It
works for a given offset with @ addr, so with @@ fcn* it can be
run against all detected functions of the bin.
2016-08-22 10:48:56 +02:00
pancake
0016fb6d33
Add JAYRO_03 aac improvement (disabled for now)
2016-08-21 11:50:33 +02:00
pancake
2390075946
Try the JAYRO_04 patch to speedup analysis
2016-08-21 11:39:37 +02:00
pancake
5023918793
Add hotpatching function preludes from MSVC
2016-08-21 11:31:54 +02:00
Alexandru Caciulescu
43c99e4e6a
Split ROP SDB per class ( #5561 )
2016-08-21 10:21:44 +02:00
pancake
56844d68f3
Rollback the tinyrange optimization
2016-08-21 03:07:19 +02:00
pancake
1bdb2c9f93
Add and use tinyrange.c: get 10% speedup in analysis
2016-08-21 01:41:03 +02:00
pancake
bab8d67c5e
Add @@f foreach iterator to walk all the functions
2016-08-21 00:25:03 +02:00
Ahmed Mohamed Abd El-MAwgood
4c60a11f7e
Types docs ( #5557 )
...
* Adding types documentation
* refactoring and optimizing types databases
All based on docs
* fixing r_core_types_init
Basically we needed to try all possible 7 combinatios of file name,
I am not sure if there is a way to do that automatically.
one extra thing, since this is init subroutine we should make sure
that the db is already empty, when reloading this function
(by changing env vars), it will be reloaded thus it needs a reset first.
2016-08-19 14:31:41 -04:00
pancake
22b78d5c73
afn without arg show current function name
2016-08-19 14:15:10 +02:00
pancake
b5d1bbf333
Fix afn without argument issue
2016-08-19 14:13:57 +02:00