Commit Graph

20902 Commits

Author SHA1 Message Date
radare
da6ec135dc
Fix #13283 - Swap g<->o in visual and graph ##visual 2019-03-06 11:14:23 +01:00
Riccardo Schirone
264f4585c7 Add symbols.objects and symbols.sections flag spaces ##flags 2019-03-06 11:13:26 +01:00
David CARLIER
3f2bff9c89 Little code cleanups (#13277) 2019-03-06 10:02:39 +01:00
Deepak Chethan
4df6941556 Use pj in canal.c 2019-03-06 09:40:12 +01:00
GustavoLCR
81ad0fe809 Fix #13234 - Allow reopening of webserver ##sync
* Fix hang after ctrl-c
2019-03-06 04:43:32 +01:00
Lowly Worm
30264306a0 Make function to allow grabbing the flags by order of importance in flagspace ##core
* use relsub addr
* kill i2, grab top of list when not in preferred spaces
* Add r_core_flag_get_by_spaces
* Remove r_flag_get_i2 and use r_core_flag_get_by_spaces
* Fix fcn name from flag
* Better consistency: flag_get instead of get_flag
* Quickpath for just one flag
2019-03-05 23:43:49 +01:00
pancake
1cdcb87d5a Fill ptrsize for TBH and TBB Thumb/ARM instructions ##anal 2019-03-05 22:40:09 +01:00
Vasilij Schneidermann
e39c9424aa Make -x behave like /x unless mask is provided ##search 2019-03-05 20:28:31 +01:00
Deepak Chethan
68001dc8f8 Add initial support for QNX executables ##bin 2019-03-05 20:27:43 +01:00
CrypticalCode0
e0b1d7a525 Update register profile for m68k ##anal
added annotation to the set_reg_profile for documentation completeness, the FPU registers are really too small and should be 5 words minimal(80bits) TBH. SR is only 16bit but it having 32bits is okay, CCR should be folded in but IDK how this would affect access.
2019-03-05 19:03:03 +01:00
CrypticalCode0
82d74870fb Update anal_m68k_cs.c (#13274)
EXG (EXchanGe register) is an valid instruction for R_ANAL_OP_TYPE_MOV because it only moves from RegN to RegN.
2019-03-05 18:22:15 +01:00
pancake
c29310bb73 Improve visual tabs switch with decompilation mode ##visual 2019-03-05 11:08:41 +01:00
Riccardo Schirone
3a96e51b3a Fix leak in RIO: free iter after removing it from list
ls_append/ls_prepend will create a new iter, so we need to free the
iter that was removed from the list.
2019-03-05 00:20:46 +01:00
Riccardo Schirone
e3f93ec490 Fix some leaks from unit tests 2019-03-05 00:20:46 +01:00
Paul I
44524f70a3 Update Windows type db ##anal 2019-03-05 00:19:04 +01:00
radare
20cee698e3
PoC: Implement aCef to emulate all calls in the function and add comments (#13266)
This PoC requires more refinement to use the API and clean the code
2019-03-04 15:23:54 +01:00
pancake
fad09f7514 Trim decompiler text in graph nodes ##graph
* Add '$' in v! to set the program counter
2019-03-04 12:42:32 +01:00
pancake
a43a3a65ef Add err* noreturn functions for Linux, iOS and macOS ##types 2019-03-04 04:48:18 +01:00
radare
7a4b75fbed
Implement support for decompiler graphs in 'v #' ##graph (#13261) 2019-03-04 04:02:42 +01:00
radare
bdbb958e1c
Fix #13247 - tn and tn- commands ##types 2019-03-04 03:22:26 +01:00
pancake
9583885a72 Honor asm.indent and only toggle in disasm 2019-03-04 02:44:13 +01:00
pancake
38a0343e62 Implement visual decompiler and fix the RConfigHold API ##disasm 2019-03-04 02:44:13 +01:00
pancake
0d23983b09 Documentate and fix 'afa' and 'afal' commands ##debug 2019-03-04 00:36:35 +01:00
radare
b7180f1f75
Remove SLOW_IO from core/anal.c 2019-03-03 23:43:49 +01:00
radare
e31a91b84b
Fix crash in canvas, some leaks and random code cleanup (#13254) 2019-03-03 23:41:19 +01:00
pancake
03cb8dd659 Implement V$ to set the program counter ##debug 2019-03-03 23:10:43 +01:00
Riccardo Schirone
33c678f5a2
Filter out special symbols in ELF (#13173)
* Filter out special symbols in ELF

* No need to add the special case '\0'

* Keep special symbols, but do not process them

* Refactoring

* Make sure s->type is not NULL

* Do not print special symbols in rad mode

* Avoid double check

* Fix PR's comments
2019-03-03 22:35:01 +01:00
radare
7fdf247e34
Warn when invalid use of r_buf_buffer (#13240) 2019-03-03 21:26:03 +01:00
Vasilij Schneidermann
dae64a0cba Update list of supported architectures (#13250) 2019-03-03 21:24:09 +01:00
David CARLIER
10548ca4db Fix compilation on Android ##build 2019-03-03 14:10:44 +01:00
Florian Märkl
961d0122f1 Change old references to aC to ac (#13243) 2019-03-03 13:12:12 +01:00
Paul I
c6ee6584b9 Update Windows type db ##anal 2019-03-03 13:11:49 +01:00
Khairul Azhar Kasmiran
ba700dacc3 Pass RAnal instead of rbtree to fcn rbtree api ##refactor 2019-03-03 12:28:36 +01:00
Deepak Chethan
08bc200f5f Change anal.maxreflines to asm.lines.maxref ##config 2019-03-03 12:27:57 +01:00
David CARLIER
4b00844d85 Adding OpenBSD elf sections ##bin 2019-03-03 03:19:17 +01:00
pancake
a3bb6132ba Implement rasm2 -x to output in hex dwords ##asm
$ rasm2 -x 'nop;nop;mov eax, 33;push ebx;int 0x80;nop;mov rbx,48484;nop'
	0x21b89090 0x53000000 0x489080cd 0xbd64c3c7 0x00900000

As suggested in https://twitter.com/travisgoodspeed/status/1101966927688318978
2019-03-03 02:51:55 +01:00
Nikolay Edigaryev
8d189afe85 x86: add ESIL for BSF/BSR instructions ##anal
BSF: https://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-instruction-set-reference-manual-325383.pdf#G5.925704
BSR: https://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-instruction-set-reference-manual-325383.pdf#G5.21931
2019-03-03 02:29:53 +01:00
Vasilij Schneidermann
6f40c5d53d Add CHIP-8 asm descriptions ##asm 2019-03-03 02:04:49 +01:00
radare
00178e21d6
Fix #13157 - Invalid read in r_bin_demangle_swift ##bin 2019-03-03 02:02:35 +01:00
David Carlier
7462d7c059 MIPS elf renaming proper sections + little typo. 2019-03-02 10:50:08 +01:00
Khairul Kasmiran
a54e89183a recurseAt: Also update size in fcn rbtree 2019-03-01 23:54:07 +01:00
pancake
0ba24ddd12 Show function signature on tailcall jumps ##disasm 2019-02-28 22:09:10 +01:00
Riccardo Schirone
afae8b6e34
Prerelease travis release (#13189)
* Add additional tests for release/prereleases
* Test different plugins configurations
* Add some libraries to docker image
* Disable SYS_CAPSTONE for now because there is only 3.0.5
* Fix html magic file to respect libmagic's format too

< can be used with string so it should be escaped if we want to match
the exact string "<html>"

* Use plugin License when printing rasm2 plugins in JSON format
* Build with system capstone, but do not run tests because they would fail
* Fix tiny plugins file to use xtr_fatmach0 instead of just fatmach0
* Use clang to compile with ASAN
* Use b_lundef=false
* Just test if different plugins configuration build, no r2r
* Use sys openssl as well
2019-02-28 16:58:09 +01:00
radare
612a3ecf3e
Fix va_arg issue in r_str_newf and r_str_appendf ##core 2019-02-28 16:56:14 +01:00
Maijin
982c950ee4 Fix #13201 - Merge anal.jmp vars fix ##config 2019-02-28 16:55:57 +01:00
pancake
cbfed2c8d2 Introduce aess to fix the regression confusing step-over and step-skip 2019-02-28 16:36:16 +01:00
pancake
cd35b961d4 Properly specify esil step over/or-not in the API to fix regression 2019-02-28 16:36:16 +01:00
pancake
1e576966f2 Initial implementation of aCe 2019-02-28 16:36:16 +01:00
pancake
950983ec71 Implement new aesou and abte commands ##anal 2019-02-28 16:36:16 +01:00
Khairul Azhar Kasmiran
58a665ca9e x86 afb+: Update size in fcn rbtree after adding bb ##anal 2019-02-28 15:57:26 +01:00