pancake
94f822ebe7
Fix #3949 - aea command to list regs used in a range
2016-01-15 01:50:08 +01:00
pancake
666d457708
Add rabin2 -O e/new-entrypoint-address (ELF only atm)
2016-01-14 14:42:36 +01:00
pancake
a362dcf6d9
Update sdb and fix more null derefs caused by mem exhaustion
2016-01-11 00:24:18 +01:00
pancake
a778b467a0
Initial i4004 analysis plugin
2016-01-10 23:03:27 +01:00
pancake
7bef915a8d
Implement arC/drC to show comments in regprofiles
2016-01-09 03:14:18 +01:00
Riccardo Schirone
3e40ca0a93
core/graph: extend r_core_visual_graph to accept a graph
...
Now it is possible to pass an already initialized RAGraph that can be
used in interactive mode, without being based on a function.
2016-01-05 00:36:26 +01:00
Alberto Ortega
dbb199e4a5
New bin plugin with initial Nintendo 3DS support. It loads decrypted FIRM files.
2016-01-04 01:08:32 +01:00
pancake
6f47901a06
Clarify r_io_section_mget->_in api and use the heap for section->name
2016-01-03 03:08:58 +01:00
pancake
42acaa7596
Softly kill boolt type
2016-01-03 02:05:26 +01:00
pancake
6f346b6d6d
Fix #3901 - Cannot debug directories and follow symlinks
2016-01-03 01:28:02 +01:00
pancake
5132a499c2
Fix many coverities
2015-12-31 17:10:02 +01:00
pancake
4e6be05f62
ARM's SP is r13 and add LR in r14
2015-12-31 14:10:11 +01:00
Eloi Sanfelix
b857bf3b06
Fixed accept prototype for linux x64 and darwin
2015-12-31 02:07:21 +01:00
pancake
afe90d520b
Fix build for apple tv and watch simulators
2015-12-29 17:58:34 +01:00
pancake
b728b48123
Native tvOS/WatchOS support, non-fat libr.a and mach0 identification for them
2015-12-28 20:40:18 +01:00
zlowram
db8fbcc68b
Added config variable to set absolute or relative lines
2015-12-28 16:44:26 +01:00
pancake
1d8b761ca1
Various static and iOS related build issues are now fixed
2015-12-28 02:01:45 +01:00
pancake
dae75dacfa
Fix null deref in r_core_free and add naked.h
2015-12-27 02:33:53 +01:00
zlowram
91611e8cbb
Implemented slc subcommand and slc? help. prl now uses lines cache if
...
available.
2015-12-24 13:18:09 +01:00
Dax
e350505f7b
Implemented 'zp' command
2015-12-24 12:24:05 +01:00
pancake
aeeda9ea4f
Allow unlimited length in signature namespaces and items
2015-12-22 22:52:04 +01:00
pancake
6de6f35b30
Fixes for sl and lines.* eval vars
2015-12-22 02:33:09 +01:00
zlowram
b371b9a4f7
Implemented 'sl' command
...
- Fixed tabs indentation
- Using r_num_math instead of atoi
- Fixed warning and used R_SNEW0 instead of calloc
2015-12-22 02:32:33 +01:00
pancake
65aef74a73
Initial support for Android BOOT images
2015-12-18 20:08:05 +01:00
pancake
1d0768bf74
Fix asm.emu in projects
2015-12-16 22:07:30 +01:00
alvaro_fe
a6e4d6b93e
Fix #838
2015-12-16 11:40:23 +01:00
pancake
69b974eca3
Fix afv-*
2015-12-15 02:08:53 +01:00
pancake
965d789c4a
Update indentation in some more random files
2015-12-14 14:32:18 +01:00
pancake
db5a76f8b3
Initial support for fold/unfold functions with afF and Vz
2015-12-14 10:19:07 +01:00
pancake
71536f3fd9
Fix #3833 - af[av]t to change type of variable
2015-12-14 02:25:07 +01:00
Dima Turchenkov
7c8fe76de3
bb_max_size
2015-12-11 00:40:11 +01:00
Dima Turchenkov
c7fdb730ee
bbs_alignment
2015-12-11 00:40:11 +01:00
Ricardo Quesada
2c3fdba551
Fix for bug 3788
...
- `r_io_read` calls `r_io_read_at` with vaddrs, and not with maddr
- `r_io_section_maddr_to_vaddr` uses a reverse iterator to check the
sections
- adds `r_io_section_mget_prev`: this function can be removed if the
behavior of `r_io_section_mget` is changed to use a reverse iterator
Squashed commit of the following:
commit a31d359bf1c79b92f518fa8237c7f9d4cf146577
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Wed Dec 9 11:40:54 2015 -0800
fetches sections starting from the back
commit 0b687439ea6225c8db9f387cc93bc53300e297a7
Merge: 8485676 92c1631
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Tue Dec 8 23:40:35 2015 -0800
Merge branch 'master' of https://github.com/radare/radare2 into revert_3788
commit 8485676cf5c042d8c4e10c798b4fadb1a43df50c
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Tue Dec 8 23:09:05 2015 -0800
This seems to be the "correct" patch...
...but it breaks some tests... apprently searches a few bytes
out of the section creating some false-positives hits
I'm just commiting this PR to give an idea of where the bug is
commit 2e4b8de397a4ef23c02c3e08113cf6b984479275
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Tue Dec 8 22:46:29 2015 -0800
not good... reverting
commit 324afba7e2853ddb72750f7f8b38bf59af310873
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Tue Dec 8 22:09:25 2015 -0800
workaround for bug 3788
commit 6e6283eaa18edcca1987a8f4227f163a6926c430
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Tue Dec 8 15:14:12 2015 -0800
Reverts fix for bug #3788
please, reopen bug #3788
2015-12-09 22:20:54 +01:00
Dima Turchenkov
3de9e43ecb
get functions size from flirt signatures
2015-12-09 17:01:34 +01:00
pancake
92c1631a06
More indent fixes
2015-12-09 00:41:44 +01:00
pancake
cfb03d3772
More indentation fixes
2015-12-09 00:27:31 +01:00
Dima Turchenkov
e521a0b31b
ut16 bufsz
2015-12-08 17:29:36 +01:00
pancake
7863995cca
Oops missing .h update
2015-12-08 13:03:38 +01:00
pancake
61fba1e663
Fix #3807 - write on maps issue
2015-12-07 22:35:34 +01:00
mrmacete
dac375c541
Delay slot simulation state in ESIL
...
+ added $ds, $jt, $js internal registers
+ added read / write capability for internal registers in ESIL instructions
+ esil_step 'aes' command ported to new delay slot state handling
2015-12-07 21:53:17 +01:00
François Revol
8439c5f683
Only use gcc's visibility attribute starting from 4.0
...
cf. https://gcc.gnu.org/wiki/Visibility#Step-by-step_guide
2015-12-07 21:48:44 +01:00
pancake
8eabe785fe
Boolify RDebug API
2015-12-04 02:57:56 +01:00
Dima Turchenkov
fcbbb5e12e
option: analyze function references as well if function is broken
2015-12-03 12:41:52 +01:00
pancake
b331ba86f7
Fix problem with C++11
2015-12-01 13:10:54 +01:00
pancake
40e08dbd89
Get rid of _Bool
2015-12-01 12:39:12 +01:00
Ricardo Quesada
f5c65f5da8
Adds VSF (VICE Snapshot File) support as a bin format
...
VICE is the most popular C64/C128 emulator and allows
users to save snapshots of the games.
Analyzing VICE snapshots are more useful than
analyzing .prg (the "standard" c64 program)
because usually all .prg are compressed, and
are decompressed in runtime.
commit 796297c6cd3a099fd17ad3715b4ed5646a6a9e65
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Fri Nov 27 12:28:58 2015 -0800
no sbd for the moment
commit c785b22318c3cacf7771ab21198aa759777224af
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Fri Nov 27 10:06:12 2015 -0800
bank 0 and bank 1
commit 63304876b6f84df001c39f5b35084ff6e61bc01b
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Fri Nov 27 09:47:12 2015 -0800
c128 includes basic, monitor and editor sections
commit 1a8995a644df6d9e871a586e57c3cd8e00cce7ae
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Thu Nov 26 14:45:36 2015 -0800
c128 roms...
uses sdb which is not used at all
more vic symbols
commit 8a29c3c7736fcf689b9248e65093277347ae38bc
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Tue Nov 24 10:39:44 2015 -0800
ram last entry
commit fca46301b2fd68e230cf547047a5278e098c9340
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Tue Nov 24 00:10:20 2015 -0800
more tidy code
commit 03b8a12b319bd0eb9f21b60d882da2030c2c35f1
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Mon Nov 23 22:52:20 2015 -0800
VSF works for C64... still many things to fix
commit a118a930cb40441b412db916deb4c0ca30e30309
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Mon Nov 23 13:37:32 2015 -0800
initial commit... compiles and detects VICE
but nothing more
2015-11-29 12:17:05 +01:00
pancake
ad6baf0824
Add rpath and scnperm in rabin2 -O
2015-11-27 20:37:27 +01:00
Dima Turchenkov
05eb32fdd8
Trash filter for data references
2015-11-27 13:06:13 +01:00
Dima Turchenkov
cded3acaba
Search string references in data references option
2015-11-27 13:06:13 +01:00
Dima Turchenkov
68bae51e3c
Follow data references for code coverage
2015-11-27 13:06:13 +01:00
Dima Turchenkov
3e6b474ca5
Don't jump above function address option
2015-11-27 13:06:12 +01:00
Maijin
e68ed8dd91
Add support for SPC700 file format
2015-11-27 13:03:18 +01:00
Riccardo Schirone
0407aab9c5
core/core: add afvn autocompletion
...
cons/dietline: add support for autocompletion in the middle of the
input, without destroying the other part of the string
2015-11-27 12:57:39 +01:00
pancake
85ba262c17
Fix #3761 - Fix drd and add aras command to swap arenas
2015-11-25 15:20:25 +01:00
skuater
513200a7fa
Fixes for the w32 debugger
2015-11-24 23:28:50 +01:00
Álvaro Felipe Melchor
d8b269f11f
Fix last covs
2015-11-24 21:53:25 +01:00
Riccardo Schirone
c7a444cb39
core/cmd_meta: fix regression with format memory metadata
2015-11-24 12:45:43 +01:00
pancake
cffa44b2f7
Add ara command and fix RReg.arena.push/pop implementation
2015-11-24 00:58:03 +01:00
Dima Turchenkov
ad6581f265
Config variables for jmp/cjmp references
2015-11-23 21:04:18 +01:00
Dax
412934d20e
Initial PSX Executable Support
...
PSX Plugin: Deleted useless file
PSX Plugin: Adjusted coding style, minor fixes
PSX Plugin: Removed typo, adjusted makefile, call check_bytes with correct parameters
2015-11-23 20:56:19 +01:00
pancake
a31cd1101e
Initial import of the VAX asm/anal/bin support
2015-11-23 12:34:53 +01:00
pancake
cab871f3e6
Fix #650 - asm.bbline - blankline on every basic block
2015-11-23 01:40:35 +01:00
Dima Turchenkov
5d4001cf13
Jump tables #1 : direct jump
2015-11-20 16:48:32 +01:00
pancake
6027d6e44e
Implement asm.relsub
2015-11-19 23:12:25 +01:00
pancake
ba74db8e3a
Initial implementation of CC,
2015-11-18 17:03:46 +01:00
pancake
40ab1e2be6
Fix #3701 - Implement r_num_tail for dcu
2015-11-17 22:38:01 +01:00
pancake
90a8b57cde
Fix gpr regset for xnu-dbg
2015-11-17 01:00:16 +01:00
Álvaro Felipe Melchor
a93e75f542
Initial merge on the reworked patch from @alvarofe
2015-11-17 01:00:09 +01:00
Anton Kochkov
317d0c6f93
Improve Cygwin/Mingw32 handling [2]
2015-11-12 23:13:39 +03:00
Anton Kochkov
202ef52d1e
Improve Cygwin/Mingw32 handling
2015-11-12 23:11:12 +03:00
pancake
d91df64286
Initial support for 'an' aka no-return analysis points
2015-11-12 13:47:44 +01:00
pancake
2b519dee07
Fix #3599 - save/restore file map address
2015-11-12 10:33:20 +01:00
pancake
a916a735e9
Fix #3682 - Handle 'x' char values by RNum
2015-11-12 00:20:37 +01:00
pancake
ad74a6ec6b
Move msil and mdmp into radare2-extras, add r2pm pkgs
2015-11-11 11:07:32 +01:00
Anton Kochkov
8c4430874d
Fix some Cygwin and Mingw32 printing
2015-11-11 01:43:03 +03:00
Anton Kochkov
60e1151ed9
Fix Cygwin mkdir
2015-11-10 18:41:32 +03:00
pancake
b701626cfc
Fix some clang-analyzer issues
2015-11-10 12:18:27 +01:00
pancake
164dcada3b
More RBin memory usage optimizations
2015-11-09 12:12:18 +01:00
pancake
aaccaea40b
Update sdb to get lower memory consumption
2015-11-09 05:07:53 +01:00
pancake
45de9bc433
Shrink Imports and Strings RBin memory footprint
2015-11-09 04:41:31 +01:00
pancake
baf63a0cba
Reduce RBinSymbols memory (smaller footpronum)
2015-11-09 03:41:07 +01:00
pancake
9c9bb2dbd5
Memory optimization for flags (-70%) + some warnfixes + sdb-sync
2015-11-08 23:38:42 +01:00
Riccardo Schirone
24f675e8af
core/reflines: improve reflines algorithm
2015-11-07 11:23:31 +01:00
Riccardo Schirone
f651209623
core/reflines: start cleaning up the code
2015-11-07 11:23:31 +01:00
skuater
ae3edbbf1f
fixed some bugs in rcons
2015-11-03 22:30:50 +01:00
Álvaro Felipe Melchor
b1583d5b24
Fix more issues reported by clang-analyzer
2015-11-03 22:14:00 +01:00
pancake
75adfec670
Fix doublefree in btree and use-after-free in windbg
2015-11-02 12:32:31 +01:00
pancake
0648cea3e5
Refactoring of the minidump code for portability and -1500LOC
2015-10-31 17:27:46 +01:00
Dāvis
0494d5fce8
Add support for Windows Minidump (mdmp) files
2015-10-31 11:59:09 +01:00
qnix
304cddfec3
Initial RISC-V 32/64 analysis
...
- Added risc-v to README
- Fixed ret detection, and branches
- Fix all the warns
2015-10-31 11:49:52 +01:00
pancake
9092338930
Fix @WWWROOT@ issue
2015-10-31 11:48:23 +01:00
pancake
5c99eb0c3f
Uppercase register aliases
2015-10-31 01:59:01 +01:00
shengdi
d336072850
Initial support for SMS roms
2015-10-30 20:16:12 +01:00
condret
f021e96382
remove a dup-line
2015-10-30 13:42:36 +00:00
pancake
72b27776d7
Initial support for function signatures using pf and initial symbol tables
2015-10-30 03:07:22 +01:00
pancake
f88b35afba
Fixes for asm.riscv
2015-10-30 00:06:38 +01:00
shengdi
49bf08cba0
Added size to radiff -C output
2015-10-29 23:44:19 +01:00
pancake
ec2ac9c640
Initial implementation of asm.emuwrite and asm.emu for CALL and UCALL
2015-10-29 23:37:51 +01:00
pancake
97233ecbae
Fix #3431 - Implement support for SMD roms
2015-10-29 13:55:03 +01:00
pancake
365d089eb8
Fix #3557 - V_ is the new VF_, old one is in V??
2015-10-29 12:54:19 +01:00
pancake
4756e610d9
Add RBin.srcdir and dir.source for asm.dwarf
2015-10-29 12:37:14 +01:00
pancake
894fa1cdf8
Do not abuse rcons for asm.emu.syscall
2015-10-29 11:54:00 +01:00
pancake
6a85a44962
Handle syscalls in asm.emu, better debug.arg and osx-syscalls
2015-10-29 11:22:49 +01:00
Riccardo Schirone
7323e0ef05
socket/run: split r_run_start to make debugging easier
...
During the environment configuration we may fork and spawn other
processes that we don't really care about. Splitting r_run_start, allows
to call ptrace only after this initial work is done.
2015-10-29 08:21:24 +01:00
pancake
22c277bbb7
Bump sdb to fix r_offsetof
2015-10-28 10:33:06 +01:00
skuater
cdfb82cfd3
Fix r2pipe to allow more data transmision at windows
2015-10-28 10:12:38 +01:00
pancake
198174957c
Fix rax2 -F C parser
2015-10-28 10:11:32 +01:00
xambroz
d448260816
build cleanup focused on possibility to control the lib directories with the build parameters
...
needed mainly for RedHat/Fedora builds
2015-10-27 03:26:45 +01:00
Riccardo Schirone
14c0f656fe
core/graph: rethink commands
...
* add :cmd and / commands to the help
* use r to refresh the whole graph, not only update the layout
* use pd instead of pi in callgraph mode
* remove 'O' and 'p' commands
* use 's'/'S' instead of 'z'/'Z' for step/step over
* use page up/down to go to the top/bottom of the graph
* use 'C' to toggle asm.comments
* remove 'c' because it will be used for the cursor inside a node (TODO)
* remove 'e' because diagonal lines are broken
* use 'p'/'P' to switch between print modes (normal, normal with offset
and bytes, esil, esil with offset and bytes, small nodes)
2015-10-25 23:56:22 +01:00
pancake
21fe9f1fa9
A bit deeper zerosep
2015-10-24 23:25:56 +02:00
pancake
880821634f
Refactor zerosep for r2 -0
2015-10-24 22:49:12 +02:00
pancake
f3ddfbb9ec
Fixes for RRegex, Use r_regex_match(), comp+exec seems buggy
2015-10-24 02:06:45 +02:00
condret
6b9de1a741
implement r_str_replace_in (see #3544 )
2015-10-23 19:32:54 +00:00
pancake
6c4bfb94b1
Fix windist, r2pipe and plugins paths
2015-10-23 02:58:48 +02:00
pancake
efa8fd9990
Remove all references to the deprecated CPARSE code
2015-10-23 00:30:33 +02:00
pancake
016fff515a
Fix and optimize f-* issue
2015-10-23 00:25:13 +02:00
Álvaro Felipe Melchor
14a775f14f
Fix #3509 - bin.prefix option
2015-10-22 23:36:43 +02:00
pancake
dcbddab6e3
Initial support for pfd and better pf autocompletion
2015-10-22 17:19:33 +02:00
pancake
2c86d90bd8
Implement dbt* and extend backtrace to support stack frame addresses
2015-10-22 12:38:57 +02:00
pancake
3de77ad6e6
Initial support of dbg.libs/unlibs for Linux/OSX
2015-10-22 04:48:56 +02:00
pancake
a05ac7eaa4
RDebugPlugin.arch.typeof(char*)
2015-10-22 03:11:03 +02:00
pancake
cb936e10e9
Fix #3490 - RAnalPlugin.arch.typeof(char*)
2015-10-22 02:23:52 +02:00
pancake
1b88200e31
Add support for 'interpreter' in RBin, ELF and MACH0
2015-10-22 02:13:26 +02:00
condret
7d7024b2c6
initial commit for gameboy-assembler
2015-10-21 18:22:14 +00:00
condret
ddba3a446b
add new colors-configs for new optype
2015-10-21 11:04:55 +00:00
pancake
620d47675f
Workaround for the fixedblock issue
2015-10-21 01:51:34 +02:00
jvoisin
c4a930aeff
Implement iLj
2015-10-20 14:30:52 +02:00
Riccardo Schirone
0951d51a45
core/anal: use r_bin_get_vaddr instead of raw vaddr and paddr fields
2015-10-20 00:39:19 +02:00
pancake
45c7c923af
Better dtc, demangling support. Handle RABIN2_LANG, and more c++ autodetect
...
* r_name_filter(len:-1) strlens the string
* Show symbol names in `dtc` (calltracer)
2015-10-19 13:21:12 +02:00
pancake
1bdd7c591a
Fix #2474 - Implement rafind2 -m for magic search
2015-10-19 03:56:59 +02:00
pancake
6ed80ae39b
Update sdb and rename rmkdir->mkdirp
2015-10-19 00:25:39 +02:00
condret
7c5deb4a4d
roundkey calculation for des
2015-10-18 02:02:58 +00:00
seu
b3de57697c
broken DES impl.
2015-10-18 01:44:41 +00:00
pancake
888405e50f
Various bug fixes in RHash api
2015-10-17 12:18:55 +02:00
Riccardo Schirone
eb35438bab
core/graph: remove 'b' and only use 'u' and 'U' to move between nodes
...
Now, every time you change the current node, you are actually seeking
that node. 'b' is not really necessary anymore and it's also confusing.
Also, if you change the seek while in graph mode, the graph will be
updated automatically to select the right node.
2015-10-16 11:26:59 +02:00
condret
fe18c8b1ef
avr_anal esil-expression for des
2015-10-15 18:05:47 +00:00
condret
8d2f6a4595
avr_anal 7 more instructions with cycles and esil
2015-10-15 00:24:23 +00:00
jvoisin
20d11bf92d
Add json output with zj
2015-10-14 21:26:26 +02:00
Riccardo Schirone
6be6f0a862
core/graph: fix regression about moving between nodes
2015-10-14 18:35:11 +02:00
pancake
b8224a153f
Fix #3471 - Show number of matches in 'z'
2015-10-14 16:55:55 +02:00
Álvaro Felipe Melchor
b2df63cba2
Fix #3386
2015-10-14 16:20:03 +02:00
pancake
42bc18703a
Implement asm.pcalign and min/max opsize info
2015-10-14 02:11:53 +02:00
Álvaro Felipe Melchor
82e02d15b0
Fix S= issues with paddr and vaddr
2015-10-14 00:11:35 +02:00
Álvaro Felipe Melchor
c1f023ae5a
Fix #3172
2015-10-14 00:11:35 +02:00
Riccardo Schirone
06ec37edd2
core/graph: use multiletter shortcuts to jumps between functions
...
TODO: shortcuts relative to basicblocks should make the target node the
current one.
2015-10-14 00:10:58 +02:00
pancake
35f97e3862
Add register profile for AVR
2015-10-13 23:01:30 +02:00
pancake
9ec625269a
Fix #2904 - Implement dbm and fix breakpoint list issue
2015-10-13 05:00:20 +02:00
pancake
1dba5a687d
Initial implementation of bin.strfilter and bin.strpurge
2015-10-13 03:50:14 +02:00
skuater
c72caa67ac
Implement dbg.libs/unlibs for w32
2015-10-13 02:18:14 +02:00
pancake
7a04833eac
Little refactoring for w32dll handling from rdebug
2015-10-12 18:49:16 +02:00
pancake
a2353c1b00
Fix #3429 - save/load visual marks using the new fV command
2015-10-12 14:33:52 +02:00
Ben Gardiner
8d4ad47210
Add bin.maxstrbuf and RABIN2_MAXSTRBUF, update manpage
2015-10-11 03:47:32 +02:00
XVilka
720341c2df
Improve -fPIC handling, take 2
2015-10-09 22:24:15 +03:00
pancake
af5a56f833
Fix r2 -V issue
2015-10-08 13:19:15 +02:00
jvoisin
6c07fda6df
Add R_ANAL_OP_TYPE_ABS
2015-10-08 11:59:11 +02:00
pancake
be0538a6a8
Fix some windows build warnings
2015-10-08 11:14:10 +02:00
pancake
d629131baf
Initial support for capstone-m68k
2015-10-07 14:37:25 +02:00
Álvaro Felipe Melchor
d9fb954dec
Added string in drr and pxr
2015-10-06 18:23:27 +02:00
Anton Kochkov
4d064d7733
Remove erringly written semicolon in macro
2015-10-06 00:25:02 +03:00
pancake
47cec917b2
Add asm.family
2015-10-03 13:52:52 +02:00
pancake
c13660c7e8
Implement dbg.regcols, managed from scr.columns and hex.cols
2015-10-03 13:33:08 +02:00
Riccardo Schirone
9fc6dc6d7d
core/cmd_anal: add commands to remove nodes/edges from core->graph
2015-10-03 12:42:40 +02:00
Álvaro Felipe Melchor
ac965a56c0
Fix #3359
2015-10-01 11:01:55 +02:00
funktioniert
7bb5f39495
Add support for multiple columns in greps
2015-09-29 11:32:57 +02:00
pancake
5ecd98305e
Add support for MBN/SBL roms, fix 11acb8392, binsect->has_strings
2015-09-29 00:42:31 +02:00
pancake
c94dd22f4d
Enhace drr, also arr. add dbg.slow and better debugmap names in xnu
2015-09-28 02:04:08 +02:00
pancake
50340be871
Fix #3376 - Implement immbase anal hint
2015-09-28 01:00:06 +02:00
Riccardo Schirone
8f8e7d52fd
socket/run: add support for redirection to another process
2015-09-27 17:45:28 +02:00
pancake
da3264250c
Honor ^C in aae
2015-09-25 18:38:16 +02:00
pancake
72d442931d
Fix #3191 - Fix // to repeat last search
2015-09-23 13:04:15 +02:00
pancake
bbf7a2221c
Fix #3270 - Implement esil.exectrap
2015-09-23 12:46:22 +02:00
pancake
34811ad84e
Fix #2416 - Add iE and rabin2 -E to list exports
2015-09-23 12:23:03 +02:00
qnix
df4be2e01d
6502: pseudo disassembler
...
Indentation and copyright
indentation fixed, [] instead of *
2015-09-22 14:31:59 +02:00
pancake
5d0bdd4481
Enhacements to ease the iOS debugger development
2015-09-21 23:40:17 +02:00
Felix Held
db39374b8b
add lm32 disassembly support
2015-09-20 23:58:12 +02:00
Maijin
d298ca5dbc
Initial support for NES file
2015-09-20 20:10:03 +02:00
pancake
a3198522a4
Fix #3252 - Implement esil trap command callbacks
2015-09-19 19:39:25 +02:00
pancake
fb622d66ed
Handle iOS/WatchOS/Linux SVC imm in REgg
2015-09-19 19:13:22 +02:00
Jeffrey Crowell
92226d0650
Rename r_config_swap() to r_config_toggle()
...
closes #3309
2015-09-17 14:20:51 -04:00
pancake
0cf36cbc6d
Fix #3289 - Fix graph arg/local in JSON
2015-09-17 01:47:40 +02:00
pancake
f7905cdd1b
Fix memleak in ood and better ppc-esil
2015-09-17 01:25:00 +02:00
pancake
5d874bc8d5
Remove io.zeromap
2015-09-16 23:35:11 +02:00
pancake
7f91e7c252
Initial import of ppc.pseudo
2015-09-16 22:31:12 +02:00
condret
60d6e5a1b9
add initial snes-anal-plugin
2015-09-16 13:17:15 +00:00
pancake
ae3af810a6
Initial support for Wii/GC DOL binaries
2015-09-16 12:59:52 +02:00
condret
6c278703af
add mcs96-disassembler (needs a lots of love)
2015-09-16 00:45:01 +00:00
condret
64636e9505
add basic 6502-analysis plugin for @ricardoquesada
2015-09-15 20:44:42 +00:00
jvoisin
c01eb89036
Heavily refactor (and improvement) of wao
2015-09-15 11:25:31 +02:00
pancake
8eb71af9ed
Internal reg prefix is now $, 85008 for curpc, TRAP for traps
2015-09-14 11:31:54 +02:00
pancake
49975ccf95
Fix #3286 - Use stdbool.h
2015-09-14 02:08:31 +02:00
pancake
823b7fc88f
Add r_anal_esil_get_parm_size() and rename <<<< into <<<
2015-09-14 01:00:09 +02:00
Riccardo Schirone
2e048b3272
socket/run: implement fork option
2015-09-13 10:46:09 +02:00
Riccardo Schirone
120753ed8b
core/graph: improve switching between visual and graph mode
...
Seek to the selected graph node when exiting from the graph mode and
select the node that contains the current offset on entering.
* core/anal: add r_core_anal_getbbaddr API
2015-09-12 18:32:25 +02:00
pancake
783d31bf5a
Find strings in esil and support thumb aap
2015-09-10 04:20:09 +02:00
Riccardo Schirone
ffdbf919b1
io/section: add r_io_section_vaddr_to_maddr_try API
...
* fix r_io_section_vaddr_to_maddr
* rename r_io_section_maddr_to_vaddr and vaddr_to_maddr
2015-09-10 01:59:40 +02:00
pancake
4506a98cff
Add arena.peek/poke, and fix emulation for asm.esil.anal
2015-09-10 01:42:56 +02:00
pancake
930c8e7535
Implement esil.iotrap. Handle invalid read/write ops
2015-09-09 01:17:55 +02:00
Riccardo Schirone
6a517aa66b
bin/p: add CGC bin format plugin
2015-09-08 23:22:07 +02:00
pancake
4c99bb6845
Refactor reflines and support asm.linesup for longer disasm
2015-09-08 23:21:35 +02:00
pancake
b40a1e80a4
Add scripting support for syscall handlers in ESIL
2015-09-08 02:53:33 +02:00
pancake
be47ed9590
Enhace syscall support for ESIl emulation
2015-09-08 00:46:04 +02:00
pancake
c52f765046
Supoprt wordsize in woe and ARM Thumb in wao
2015-09-07 23:36:57 +02:00
pancake
10bb7e9a4d
Honor ^C in aar
2015-09-07 18:20:29 +02:00
pancake
fe30154228
Honor ^C in aac
2015-09-07 18:12:08 +02:00
pancake
90c22d90ab
Fix #3162 - Duplicate(or more) on analysis warnings
2015-09-07 00:30:48 +02:00
jvoisin
dba909b1dd
Fix yet-another-batch of clang-analyzer issues
2015-09-01 23:24:11 +02:00
Álvaro Felipe Melchor
1d4ebdeb25
some refactoring & added threads field in RDebug
2015-09-01 18:45:08 +02:00
pancake
f8d3a41fd7
Fix #3200 - Honor scr.rgbcolor in ecr command
2015-08-31 17:06:59 +02:00
pancake
f5f7216e0a
Add _ key in V! for hud
2015-08-31 13:57:39 +02:00
pancake
1e1b1adf2a
Major enhacements for the V! visual panels
2015-08-31 05:06:01 +02:00
pancake
6b254a98c7
Fix #1118 - Add asm.invhex and asm.lines.ret
...
- Do some cleanup in RAsm and RCore.disasm
- Accidentally reverts 74be82d30b .
2015-08-31 00:24:28 +02:00
dequis
003a18aa30
A few simple memory leak fixes
2015-08-30 23:20:51 +02:00
Kevin Grandemange
71c4245df7
add clearenv in rarun2 and update documentation
...
fix unsetenv wrong description
add some example for environment variable
fix r2 use of rarun2 example
Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2015-08-29 19:22:15 +02:00
Riccardo Schirone
575d3e9f0a
core/bin: remove loadaddr parameter and get it from the RBinObject
2015-08-29 00:35:09 +02:00
Riccardo Schirone
81a8b2a3d5
fix baddr >= 0 and laddr
2015-08-26 20:07:42 +02:00
Riccardo Schirone
36d96770aa
simplify baddr usage
...
* some style fixing
* core/bin: simplify rva function
* bin/bin: avoid passing baddr around
* bin/bin: provide methods to work with baddr
2015-08-26 19:56:51 +02:00
Riccardo Schirone
18eaf1c8c5
format/elf: fix paddr2vaddr and vaddr2paddr conversions
2015-08-26 18:30:33 +02:00
Riccardo Schirone
eeef82c2b8
bin: use R_BIN_SCN_MAP flag when a section should be mapped by IO
...
- io/section: filter sections by looking at R_IO_MAP flag
- util/str: consider (m)apped flag when printing/parsing srwx info
2015-08-26 14:12:46 +02:00
Álvaro Felipe Melchor
d8b1ee5b9b
More cleanup in debug
2015-08-26 00:47:15 +02:00
pancake
030cb34f6d
Add DebugPlugin->keepio to fix ffff regression in debugger
2015-08-24 16:44:09 +02:00
pancake
59dfda515f
Fix #3136 - Add ARM and ARM64 assemmbler support from NDK
2015-08-24 15:43:13 +02:00
pancake
7c3ef24314
Delegate dmm logic into the native plugin.
...
- Add native iOS/OSX support to list modules
- Generic fallback used for the rest of platforms
- Update sdb to fix ~{}
- Fix ARM64 analysis typo issue
2015-08-24 01:29:35 +02:00
condret
06076207fb
add r_io-wrappers in r_bin
2015-08-24 00:31:35 +02:00
shengdi
932dde8504
Fix #3119 - Add dbg.btdepth
2015-08-23 12:35:24 +02:00
pancake
7a871d4cb5
Add drm command to get/set packed registers. Old drm is now drf
2015-08-23 04:43:31 +02:00
pancake
f776f5a515
Implement RReg API for long double and packed registers
2015-08-23 03:58:49 +02:00
pancake
d0c4193388
Fix ARM64 compile time support for Android
2015-08-22 20:45:19 +02:00
pancake
e774d332b7
Fix #3082 - Add support for MASM syntax in x86.cs
2015-08-21 15:29:37 +02:00
pancake
ecf5205e64
Add support for remote aliases with =$ command
...
For example
=$dr - `dr` will do `=!dr`
=$-dr - unset that alias command
2015-08-20 02:26:57 +02:00
pancake
91836a164b
Add r2p_cmd and r2p_cmdf APIs in RSocket
2015-08-19 16:56:17 +02:00
pancake
a6cb6ab07d
Fix #2992 - Add dmpf and dmpt to dump/restore snapshots from/to disk
2015-08-19 14:06:59 +02:00
pancake
5993d290a0
Add dbn and db. commands
2015-08-17 01:43:45 +02:00
pancake
62e631a514
Add segfault and abort debug stop reasons
2015-08-17 00:55:07 +02:00
pancake
d22ac1228e
Initial implementation of RDebugReason. See di command
2015-08-17 00:16:25 +02:00
pancake
701dd4a80e
Add io.aslr and set it to false by default (used only for OSX atm)
2015-08-16 17:45:23 +02:00
yetmorecode
2e347da121
Removed w32 specific process_handle member from RDebug.
2015-08-13 20:44:17 +02:00
Riccardo Schirone
34ef49631e
core/anal: refactoring
...
* core/anal: refactoring of r_core_anal_op
* core/anal: refactoring of r_core_anal_bb + some comments to R_API fcns
* anal: use noncode as boolean
* core/anal: clean r_core_anal_fcn
* core/anal: split r_core_anal_fcn to improve readability
* core/anal: simplify code
2015-08-11 08:57:01 +02:00
Riccardo Schirone
6b47a68c91
core/anal,cmd_anal;anal/bb,data,fcn: general cleaning
...
* core/cmd_anal: extract cmd_anal_all function
* core/anal;anal/bb,data,fcn: indentation
* core/anal;anal/anal,data,fcn: remove dead code
* core/anal: remove macros in the middle of function
* core/anal: avoid blocks in the middle of functions
* core/anal: fix macro name R_ANAL_BB_HA_OPS -> R_ANAL_BB_HAS_OPS
* core/anal: fix if/else if/else
* core/anal: remove r_ prefix from static functions
2015-08-11 08:57:01 +02:00
shuall
0807686d86
#3052 all printf member functions changed to cb_printf
2015-08-09 03:25:05 +02:00
Riccardo Schirone
5adf6b4043
util/str: add r_str_ansi_crop function and tests
2015-07-30 01:05:31 +02:00
Riccardo Schirone
46ffc1346f
util/str: add some comments and fix r_str_ansi_chop
...
util/str: fix r_str_ansi_filter
2015-07-29 21:33:42 +02:00
pancake
83b9633ac2
Add iobind.section_vget
2015-07-28 03:29:16 +02:00
Riccardo Schirone
94f303ca36
core/graph: clean code + fixes
...
cons/canvas_line: split style in color and symbol
In this way you can choose to apply a color and/or a symbol (t/f/v) to a
line. This patch also changes core/graph to avoid t/f symbols in the
middle of long edges.
cons/canvas_line: fix "reversed" edge
core/graph: center current node when changing function
2015-07-27 12:29:18 +02:00
Riccardo Schirone
31dfeda157
core/graph: improve edges layout
2015-07-25 13:55:31 +02:00
pancake
43ecb3939e
Better aae, more hits, better emulation, fix boundary bug
2015-07-24 18:19:11 +02:00
Riccardo Schirone
5ef6454ee0
core/graph: sdbization of RAGraph
...
* core/graph: refactor check_changes of agraph
* core/graph: udpate info when getting the Sdb from the graph
* core/graph: add in sdb info about nodes
* core/graph: add "agraph.delta_x" to rebase all coordinates and make
them unsigned integers
* core/cmd_anal: add 'agg*' to print r2 commands to generate the graph
* core/cmd_anal: add helps to 'agn' and 'age' commands
2015-07-24 14:00:11 +02:00
pancake
6ae0417278
Updsate SDB to optimize dupped symbol checks in mach0 parser
2015-07-24 13:24:32 +02:00
XVilka
44ab1ceaa0
Final fixes for Mingw-W64 support (except SDB)
2015-07-23 21:05:56 +03:00
Skia
1541477ae9
Add support for registers in pf and fix pfv
2015-07-23 14:37:37 +02:00
pancake
55474775ba
Fix #2990 - Add dmda dmdw dmsw dmsa and json listing
2015-07-23 00:49:59 +02:00
pancake
d2233a896b
Add de Debugger Esil API for advanced software watchpoints
...
- Implemented in r_debug_esil_* APIs
- Support for step-into and continue
- Expressions can be regs, numbers, math operations, ranges, comparisons..
- Honor dbg.prestep for stepping before or after analysing
- read-write-exec watchpoints using native debug backend and esil emulation
- OSX/iOS debugger error message is now nicer
- anal/rpnesil renamed to esil
- Add esi,edi in osx regprofile
- Add r_cons_is_breaked() for consistency
2015-07-21 06:11:42 +02:00
Riccardo Schirone
3738b5fe59
core/graph: make the title a field of RAGraph
...
* core/graph: add r_agraph_set_title function to the API
2015-07-19 01:35:01 +02:00
Riccardo Schirone
9d830a925f
core/graph: last line fix + memleaks fixes
...
* core/graph: fix last line in non-interactive mode
* core/graph: remove event_resize callback at the end
* core/graph: free RANodes when you free/reset the RAGraph
* core/graph: use R_TRUE/R_FALSE instead of 1/0
* core/graph: remove warnings
2015-07-19 01:33:52 +02:00
pancake
7e9c260254
Enhace the Material WebUI and add fs-. command,
...
- Rebumped Overview
- Show info in columns
- Show fortunes
- Handle Ctrl+[0-9]
- Analyze refs and show entire function from pd
- Search more stuff (magic,hex,rop,code,..)
- Script panel
- Lists using tables
2015-07-17 11:21:04 +02:00
deffi420
9d92712cea
Add aar command to search xrefs in code
...
- Ignore references to sections with vaddr=0
- Skip overlapping instructions in xref search
- Improve debugger mode support of `axa`
- Remove unused cmd variable
2015-07-16 00:32:18 +02:00
pancake
df25085ffe
Add custom color support for graphs and handle VVR and VVVq
2015-07-15 15:54:20 +02:00
pancake
9e08fb0c26
Update sdb and fix shlr/sdb race condition
2015-07-15 00:52:23 +02:00
David Kreuter
691294f2bc
refactoring of r_socket_connect (Should resolve CID 1134571 Logically dead code)
2015-07-15 00:39:08 +02:00
Riccardo Schirone
a6c23407b2
cons/cons.c: avoid printing last line
...
fix #2908
2015-07-14 18:06:55 +02:00
Riccardo Schirone
6c6e9f5f3c
util/graph: RGraphEdgeCallback now accepts a RGraphEdge
2015-07-13 20:33:52 +02:00
Riccardo Schirone
5d66b7510b
util/list: add r_list_insert to insert element in a specified position
2015-07-13 20:33:52 +02:00
pancake
9d3601d1a0
Fix w32 warning
2015-07-13 15:59:36 +02:00
pancake
9cc1c1b335
Update sdb and more rework for appveyour
2015-07-13 15:22:37 +02:00
pancake
8e9058ed26
Avoid using keywords like class
2015-07-13 14:43:13 +02:00
Riccardo Schirone
4eedd69a91
core/cmd_anal: implement ag-/agn/age/agg to work with core->graph
2015-07-13 13:48:31 +02:00
Riccardo Schirone
3d29108225
core/graph: add r_agraph_print
2015-07-13 13:48:31 +02:00
Riccardo Schirone
975e30ac6c
core/graph: add r_agraph_get_node
2015-07-13 13:48:31 +02:00
Riccardo Schirone
9391131479
core/graph: add r_agraph_add_edge
2015-07-13 13:48:31 +02:00
Riccardo Schirone
6c55098a44
core/graph: add r_agraph_add_node
2015-07-13 13:48:30 +02:00
Riccardo Schirone
e58bf2350f
core/graph: change name AGraph => RAGraph and make it a public structure
2015-07-13 13:48:30 +02:00
pancake
bdfbc4f076
Fix several COVs, and build issues related to appveyour
2015-07-13 11:21:21 +02:00
Jonathan Neuschäfer
ecf6792318
Fix #2927 and random code cleanups
...
- asm_dcpu16: remove an obsolete comment
It was obsoleted in 5285d1bdea .
- Indentation fixes
- fix a few typos
- remove "#define NEW_ESIL"
- move comment about r_bin_filter_name to the right place
- README.md: Add V810 to the list of supported architectures
- Also, de-duplicate LH5801
- Add attribution to randomart.c, fixes #2927
2015-07-12 19:20:36 +02:00
pancake
763df8afb6
Add support for remote commands with: != and !=!
2015-07-09 23:20:48 +02:00
mrdanielps
dce2a1eb88
Add V810 support
2015-07-08 21:09:59 +02:00
Jeffrey Crowell
f5095cff88
add regexp to /c/
2015-07-08 14:02:48 -04:00
pancake
19e20cdbc5
Add R_SYS_ARCH/_BITS for arm64
2015-07-07 01:44:47 +02:00
Riccardo Schirone
316a529a80
core/graph: fix a regression where dots are printed out of node
2015-07-07 00:54:38 +02:00
pancake
b67103e8e2
Fix #2888 - afns list all named strings in a function
2015-07-06 11:30:35 +02:00
pancake
c10bcdfbea
bin.filter class names and hashify raw bytes in name
2015-07-06 00:58:51 +02:00
pancake
c6daf8549f
Fix listing classes for DEX binaries
2015-07-06 00:05:03 +02:00
pancake
6ed4d5a94b
Comment the mach0's symtab parser, rabin2 -u and more
2015-07-05 03:25:20 +02:00
pancake
c334632809
Add anal.noncode to avoid analyzing data by default
...
Fix double-free in core/anal.c
2015-07-05 01:44:45 +02:00
pancake
3d1532c4d9
Is ok to have dupped imports
2015-07-05 00:41:06 +02:00
pancake
cdf56a63f8
Add bin.filter=true config var to avoid dupped symbols and imports
2015-07-04 23:42:48 +02:00
Riccardo Schirone
40e0884e57
util/graph: move adjacency lists to the RGraphNode
2015-07-03 09:40:35 +02:00
pancake
cf087149cc
Fix #2724 - Fix /+ and few warnings
2015-06-30 12:36:13 +02:00
pancake
693ba387a0
Initial support for ESIL pins to emulate entire functions
2015-06-30 11:14:54 +02:00
pancake
d6cb2ae553
Fix #2834 - upgrade sdb
2015-06-30 00:21:55 +02:00
pancake
4afc585acd
Add fuzzy backtrace algorithm and show function and flag info in dbt
2015-06-29 22:23:04 +02:00
pancake
45a83dc38a
Detect Rust binaries in RBinLang for name demangling
2015-06-29 11:22:05 +02:00
Álvaro Felipe Melchor
ccef928dfe
Fix some COVs
2015-06-28 20:15:35 +02:00
pancake
c6b0a5307f
Add dbg.btalgo, remove dead code and fix null deref in previous commit
2015-06-25 16:40:39 +02:00
iessa s alkuwari
b439ba4dde
backtrace improvements
2015-06-25 15:19:43 +02:00
pancake
df51cfc5aa
Bump capstone and sdb
2015-06-25 12:07:20 +02:00
pancake
d436d16cd4
Honor asm.bits in the RBreakpoint API
2015-06-22 12:23:38 +02:00
pancake
73f4351fa3
Rewrite dm for iOS/OSX, still needs some cleanup
2015-06-22 03:10:56 +02:00
pancake
0427dbc04f
Add /# command to search for blocks matching a hash
2015-06-22 00:22:18 +02:00
pancake
2b8e31592c
Handle TARGET_OS_IPHONE and fix r_sandbox_system() issue
2015-06-21 12:47:09 +02:00
pancake
04a2718657
Add version field in plugins, and check it before loading
2015-06-21 10:09:12 +02:00
Riccardo Schirone
31099a3a54
util/graph: add DFS visit implementation and r_graph_del_edge/node
2015-06-17 11:22:10 +02:00