Commit Graph

21054 Commits

Author SHA1 Message Date
Maijin
82d1e96b7a Add aao in aaa #13445 ##anal 2019-03-23 14:59:48 +01:00
radare
75876f6d29
Some fixes for the debug/emul traces and initial visual mode ##debug (#13475) 2019-03-23 14:59:15 +01:00
condret
5259383839 Fix printing consecutive type links in pd ##disasm 2019-03-23 12:50:39 +01:00
Khairul Kasmiran
83d4485186 Add "return" and deindent 2019-03-23 19:44:20 +08:00
Brenton Morris
186a3d91a2 Improvements in vbg ##visual 2019-03-23 12:25:27 +01:00
Vanellope
35751dab25 Remove some useless messages on the menu ##panels (#13474) 2019-03-23 12:23:44 +01:00
Maijin
f24ced4aa5 Fix mulss pseudo (#13470) 2019-03-23 03:50:27 +01:00
Vanellope
49f54d3aa5 Vpp"c now properly rotates ##visual 2019-03-22 20:46:37 +01:00
Khairul Azhar Kasmiran
5216f22aa0 Visual 'k' honors asm.flags.middle ##visual 2019-03-22 16:22:31 +01:00
Fabrice Martinez
026c0426db * m68k architecture is always 32 bits and big endian ##anal
* SP was declared as 'sp' in the register profile which doesn't exist. Stack pointer is a7.
* Most C compilers for m68k (e.g. LatticeC) use a6 as stack frame pointer via LINK and UNLK instructions, declare a6 as BP
2019-03-22 14:52:01 +01:00
a1ext
f9b4bb76d3 Fix wcr command ##core 2019-03-22 14:51:28 +01:00
pancake
9f840c6306 Fix clusterfuzz-testcase-minimized-ia_fuzz-5636199282114560.dms 2019-03-22 11:26:55 +01:00
pancake
23fbd99718 Move compiler line to the right place 2019-03-22 11:19:22 +01:00
Wladimir J. van der Laan
f4eac702d4 Fix build on newer RISC-V compilers (#13459)
On gcc 9.x, `__riscv__` is no longer defined but `__riscv` is.

This is documented under C/C++ preprocessor definitions on
https://github.com/riscv/riscv-toolchain-conventions
2019-03-22 09:46:01 +01:00
a1ext
4000e7bf72 Fix ft command crash on Windows (#13457) 2019-03-22 04:10:00 +01:00
Romeu Gomes
be775770ec Change 'sanitiz' from bininfo to be according to alphabetical order (#13456) 2019-03-22 04:08:28 +01:00
pancake
059b335bb2 Fix invalid json regression for compilerr 2019-03-22 01:14:26 +01:00
David CARLIER
addb2c6507 ELF: returning the full compilation toolchain info ##bin
* mach-0 empty value for now
2019-03-22 00:44:31 +01:00
Vasilij Schneidermann
a4b76d85dd Support asm.pseudo=1 in pad command ##disasm 2019-03-22 00:43:40 +01:00
MK
4e61a5728c Added missing flags & file paths autocompletions ##cons 2019-03-22 00:42:16 +01:00
Khairul Azhar Kasmiran
f8bf1e45a6 Optimize slightly r_core_visual_disasm_down() (#13450) 2019-03-22 00:41:51 +01:00
a1ext
233e1b5d7b Clean up of PR #13441 (#13455) 2019-03-22 00:41:11 +01:00
Vasilij Schneidermann
9856bfab28 Chip8 pseudo fixes (#13453) 2019-03-22 00:40:53 +01:00
a1ext
225314bca4 Fix #1179 - itj hashes calculation command has fixed (#13441)
* Fixes #1179 - `itj` command has fixed, small refactoring on hashes storage, removed obsolete `file.sha1` usage
* Show all the different hashes on `it` and `itj`
* `it` and `itj` refactoring.
PJ optimizations have made, added more arguments checks
2019-03-21 11:02:48 +01:00
a1ext
7d03facd42 Fixes pipes implementation on windows ##windows
* Fixes pipes implementation on windows (pipe data was treated as a string instead of binary data so first \0 truncates it)
2019-03-21 09:16:12 +01:00
Deepak Chethan
05896dd783 Added load_buffer and check_buffer for qnx (#13446) ##bin 2019-03-21 13:56:52 +08:00
Riccardo Schirone
055081bbe3 Rebase strings when necessary ##bin 2019-03-20 23:45:51 +01:00
Riccardo Schirone
b0ac77881e
Make other RBuffer fields "private" (#13444)
* Use r_buf_size to get the size of a buffer, not the private field

* Use r_buf_seek instead of adjusting the private cur RBuffer field

* use r_buf_read instead of r_buf_read_at(.., cur, ..)

* other r_buf_read_at/r_buf_read

* Fix RBuffer usage in REgg

* Wrong replace with r_buf_resize

* Other r_buf_resize fixes

* style fixes

* other style fixes

* Introduce r_buf_tell API instead of using seek

* other style fixes

* style

* style 2

* write_at(cur) == write

* fixes

* avoid changing test

* Make most RBuffer fields private

* Add some fixme comments

* still use base_priv in some places
2019-03-20 19:01:26 +01:00
Riccardo Schirone
5be1f58340
Simplify WASM code by avoiding duplications (#13443)
* Simplify code by avoiding duplications
* Use r_return in consume_r
2019-03-20 18:59:26 +01:00
radare
58e171dbe1
Implement jmptbl for Thumb TBB instruction ##anal 2019-03-20 13:54:21 +01:00
Anton Kochkov
d705bb9444
Fix MSVC warning (#13434) 2019-03-20 14:32:49 +08:00
radare
e91dbd8091
Fixes crash in the disasm and assert for the folded bb feature (#13440) 2019-03-20 02:02:04 +01:00
pancake
f6199df12e Fix visual mountpointss, move it into Vb ##visual 2019-03-20 02:01:17 +01:00
Mahesh Kale
dc7abc8731 Change order of ? And i output (#13418) 2019-03-19 18:11:53 +01:00
Giovanni
9b9096aa87 Sync with libvle (bugfixing & new instructions) ##disasm 2019-03-19 18:11:14 +01:00
Óscar Carrasco
2bbcfd908c Implement p-e (entropy bar) ##print 2019-03-19 17:37:23 +01:00
Khairul Azhar Kasmiran
a478cdfc5f bin.str{purge,filter} -> bin.str.{purge,filter} ##core 2019-03-19 17:34:59 +01:00
radare
e04f31a313
Completely kill the msvc/ directory and the unix-specific includes workarounds 2019-03-19 17:34:02 +01:00
Riccardo Schirone
59cfc2bb3f RBuffer should not be const (#13432) 2019-03-19 11:43:45 +01:00
wangcong
b22d03613e Improve Makefile on macOS (#13431)
`OS` can have already be set to other values on user machines, `OS=` fits better here.
2019-03-19 11:43:13 +01:00
David CARLIER
cc3fc0f80a FreeBSD get thread name support only from 12.x flavor (#13428) 2019-03-19 09:27:42 +01:00
Anton Kochkov
652df0b964
Fix #13000 (#13083) 2019-03-19 14:29:55 +08:00
Johannes
a3568f0098 Fix musl compatibility - ARM_VFPREGS_SIZE is defined in asm/ptrace.h (#13427) 2019-03-18 22:37:35 +01:00
Paul I
3f46947b1c Fix bug in print_flag_json() (#13425) 2019-03-18 22:21:04 +01:00
GustavoLCR
c8160886d0 Make pid.c use PJ (#13424) 2019-03-18 19:16:08 +01:00
pancake
71c904bcce Support colors in prx (abusing px) ##hexdump 2019-03-18 17:53:47 +01:00
Khairul Azhar Kasmiran
c8ca905988 Fix invalid instruction warning (#13417) 2019-03-18 16:26:52 +01:00
Francesco Tamagni
f90b31c3e0 Improve arm TBH jump table ##anal (#13423)
- store cmpval and cmpreg in every basic block
- lookup cmpval from predecessors considering TBH’s index register
2019-03-18 16:15:56 +01:00
sivaramaaa
d07f8c016c Add txf and txf. commands ##types 2019-03-18 14:34:22 +01:00
Fabrice Martinez
23b86b5c46 Fix m68k analysis issues ##anal
- Fill op->jump and op->fail for all branch and jump instructions
- Handle short and word variants of BSR (BSR.S and BSR.W)
- DBxx instructions treated as conditional branches
- Handle PC relative variant of JMP & JSR
- Bugfix for the decoding of long instructions (code in asm_m68k_cs.c assumed a maximum of 8 bytes, but maximum is 10 bytes)
2019-03-18 13:23:47 +01:00