50 Commits

Author SHA1 Message Date
xarkes
7e98502666 Code refactoring for the color palette handling
* RConsPrintablePalette initialization
* Remove scr.rgbcolor
* Added RColor support to cons_pal_parse
* Added warnings about pal_set and missing event_update
* Code cleaning (char* to RColor), less rgb_parse
2018-02-23 19:00:47 +01:00
Ziyaddin Sadigov
d4dd6fd5e6 Fix typo regarding byte size (#9067) 2017-12-27 18:33:58 +01:00
pancake
04ff4a5195 Fix #6428 - Honor scr.color in ad command 2017-04-16 11:41:27 +02:00
pancake
1cf650aceb Implement ad4 and ad8 commands 2017-04-10 02:18:47 +02:00
pancake
b9a1cc60b7 Dont mix hex and ascii in the same string. C sucks 2017-02-10 11:20:18 +01:00
pancake
70930f4496 Bring back the interest on sys/indent.sh 2017-02-10 02:05:58 +01:00
pancake
50d73d1547 Fix a lot of memleaks, null derefs and undef behaviour thanks to clang-analyzer 2016-12-19 16:44:51 +01:00
pancake
7a1b6871d9 Fix a bunch of outstanding coverities 2016-10-20 14:11:02 +02:00
Sven Steinbauer
2996538700 Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +02:00
pancake
403b2c2257 Update release-notes script 2016-05-24 01:12:22 +02:00
Sven Steinbauer
8da8ad740f Cleanup fixes
* For commit comments and compiler errors
* Fixes for PR comments
* fix some "infer fixes" commits

Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2016-05-23 11:25:44 +02:00
Sven Steinbauer
9e6d4f2709 Anal infer fixes
Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2016-05-23 11:25:44 +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
Damien Zammit
af0a865d9f WIP - Totally remove host endianness dependence
- Adds endian aware functions
- Removes references to host endian
- Uses binary detected endianness else tries LE and restricts by RAsmPlugin
- Fixes gdb debugger endianness when debugging BE qemu gdbserver

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-05-04 23:42:17 +10:00
jvoisin
3727f0794d Change the anti pattern if (A) free (A); for free (A); 2015-12-20 19:28:39 +01:00
pancake
96e63a55a9 Fix clang build 2015-12-14 15:14:35 +01:00
pancake
959c61671e Indentation fixes 2015-12-14 15:01:25 +01:00
pancake
965d789c4a Update indentation in some more random files 2015-12-14 14:32:18 +01:00
Álvaro Felipe Melchor
d9fb954dec Added string in drr and pxr 2015-10-06 18:23:27 +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
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
e147a21be9 Fix some of the alloc-check bugs reported in #2772 2015-06-17 12:36:08 +02:00
NighterMan
66ad5106a7 fix for is_string ignoring \r, \n and \t as valid characters breaking refprt on disassembly 2015-03-31 11:42:17 +02:00
Kamil Rytarowski
a49ee4cad2 Remove unneeded / unused variable from ut64_is_pointer() 2014-12-05 14:21:21 +01:00
pancake
6e3d16dc81 USE_IS_VALID_OFFSET in RAnalData to speedup disasm ~10x on slow io backends
- This requires more testing and the backend must provide
  sections or valid memory region areas somehow to make it
  work on the gdb backend for example, otherwise it's disabled
2014-12-02 11:52:20 +01:00
pancake
87273cf144 Initial commit enhacing disasm with aop.ref and aop.refptr (x86.udis only atm) 2014-11-07 00:41:29 +01:00
pancake
42232354a7 Add 'ai' - address info, Enhace 'ad' (support patterns and sequences)
- ai shows: exec,read,write,flag,func,stack,heap,reg
- Add r_reg_regset_get()
- Implement r2.cmdj in r2.js
2014-10-15 02:24:22 +02:00
pancake
99b8dab78b Fix two enum-cast warnings 2014-09-20 15:21:25 +02:00
jvoisin
9b99c0135d Even more coverifix 2014-08-18 15:03:02 +02:00
pancake
5d4664ef53 Fix CID 1216469 2014-08-04 01:12:33 +02:00
Jonathan Neuschäfer
5625f1620a fix out-of-bounds reads in r_anal_data 2014-06-15 12:08:22 +02:00
pancake
26be34439a Fix r_io_mach_read for partial reads on segment limits 2014-06-05 01:32:05 +02:00
Anton Kochkov
46f3fa4767 Refix segfault/infinite loop 2014-04-22 02:55:17 +04:00
Anton Kochkov
404a2c89ef Fix segfaulting on analysis 2014-04-22 02:39:33 +04:00
Anton Kochkov
42ac2e5ea9 Fix CID #1198558 2014-04-22 01:44:53 +04:00
Adam Pridgen
307169886e forgot to add a typo fix 2014-04-09 10:00:18 -05:00
Adam Pridgen
c3048100e2 Fixing coverity defects 2014-04-09 09:51:55 -05:00
pancake
6a61706d05 Random offby8 fixes for /R 2014-04-09 04:53:34 +02:00
pancake
6a835f159d Fix static link 2014-03-18 01:36:54 +01:00
pancake
4180b24f56 Fix graph with trash data in it 2014-02-25 00:38:18 +01:00
pancake
1656f20222 Fix #638 - /R segfaults (x86-udis86-esil issue) 2014-02-21 01:59:32 +01:00
pancake
2475dc6d04 Optimize r_anal_reflines and r_anal_data_kind (disasm is now 7 times faster) 2014-01-04 01:59:23 +01:00
pancake
bf1d0ff08a Fix build and various random fixes 2013-12-20 04:32:38 +01:00
pancake
5f4623ed46 Fix some bugs appeeared during the training course
Fix segfault in "rasm2 'xor e'"
Fix overflow in 'ad@esp' when long strings are analyzed
Fix null pointer check in r_num
2013-03-07 13:08:05 +01:00
pancake
cea398e345 Add rax2 -n for binary numeric values 2013-03-05 01:28:32 +01:00
pancake
06787d0972 Fix 'ad' command (r_anal_data was broken) 2013-02-26 22:03:02 +01:00
pancake
2fa48384ad Fix some bugs reported by clang-analyzer 2013-02-08 11:42:46 +01:00
pancake
475372ec2c Fix archbits in overlap mem, fixes for ad, pd and segmented addressing
Fix invalid wide string identification in 'ad' command
Temporal blocksize syntax ':' has changed to '!'
  - x @ 1024!33
Fix overlapped IO sections handling
Add support for segmented address in temporal seek
Fix disassemlby to print more lines than blocksize
2012-12-06 00:55:22 +01:00
pancake
83ea1201e9 Working refactoring of RAnalData API 2012-11-20 12:17:46 +01:00
pancake
e495421782 Initial implementation of 'ad' (analyze data)
Force tid=pid when tid=-1 in r_debug_select()
Add support for 16bit mov in x86.nz assembler
2012-11-20 03:59:00 +01:00