Commit Graph

39 Commits

Author SHA1 Message Date
pancake
160fc95e66
Use (void) instead of () in function signatures (#17026) ##refactoring
* Use (void) instead of () in function signatures
* Add test to avoid further contributions to commit the same mistake
2020-06-14 16:08:32 +02:00
Khairulmizam Samsudin
ae1ef3ffbe
Create RReg test unit (#16081)
* Add test for r_reg_set_name() and r_reg_get_name()
* Add test for r_reg_set_profile_string()
* Add test for r_reg_setv() and r_reg_getv()
2020-03-02 13:39:47 +08:00
yossizap
71669c2cb3 Added register specific comment parsing to register profiles ##debug 2020-01-14 11:35:13 +01:00
pancake
b13adc5488 Boolify the reg api a bit more 2019-08-30 04:07:46 +02:00
pancake
c0e14962e2 Blindfix for empty reg arenas 2019-08-30 03:30:13 +02:00
radare
de8a39dd54
Make r_reg_get O(1). aae is 2x faster! ##optimization (#14061) 2019-05-14 03:31:04 +02:00
David CARLIER
033e073c4e Little warning build fixes (#12232) 2018-11-20 01:13:54 +01:00
radare
5f270658c5
New RBin plugin for "symbols" files ##bin 2018-11-19 22:54:58 +01:00
lzutao
b790439e28 Cast arguments to ut8 when feeding ctype.h functions ##refactor
The behavior of the `<ctype.h>` functions is undefined for negative
arguments (other than `EOF`). In such a situation, the argument should
be cast to `unsiged char` for safety.

References:
 - C Programming: A Modern Approach, 2nd Edition: page 612, chapter 23.5
2018-11-06 13:40:00 +01:00
pancake
865ec593b1 Dont make those reg profile dupes fatal 2018-11-05 16:55:34 +01:00
pancake
3738a97623 Fix several asserts and crashes when loading invalid reg profiles 2018-11-05 16:55:34 +01:00
pancake
dc96db9e51 Try clang-format when no uncrustify is found and reindent r_reg with sys/indent.sh 2018-10-16 00:17:44 +02:00
radare
63669bee85
Add support for wired-to-ground registers for MIPS and V850 (#11320) 2018-08-31 03:05:41 +02:00
Fangrui Song
94ba8ea79a reg/profile.c: remove a duplicated FLG => GPR hack (#8516) 2017-09-15 11:32:29 +02:00
pancake
2b181659f0 Fix regprofile parsing from remote lldb on ios-arm64 2017-08-30 01:17:39 +02:00
pancake
1a04c2a24d Get ready for the 1.6 release 2017-07-10 01:32:50 +02:00
Srimanta Barua
4fdb21643c added drp sub-command to parse gdb reg profile and dump r2 one (#7889) 2017-07-09 18:18:27 +02:00
davidpolverari
1fb422b532 Fix #6162 - Renames r_str_concat to r_str_append 2017-03-16 22:29:49 +01:00
pancake
6abe6abe93 Shrink all arenas before reloading the new reg profile 2016-11-24 00:29:34 +01:00
SkUaTeR
4c2a01d4a7 Fix in profile to get correct reg.size (#6238) 2016-11-21 23:13:59 +01:00
pancake
a7e281b524 Enhanced drpi and use gpr as default arena for flags 2016-11-15 16:20:10 +01:00
SkUaTeR
20a9bbd14a Rreg fpu changes (#6191)
* test with rreg for values greater than 64
* check for redirected regs in debug reg sync
2016-11-14 23:58:29 +01:00
pancake
24e08bb23d Aim to fix the asm.emu regression after the memoization 2016-11-13 23:32:24 +01:00
pancake
77f1b4fbf5 Add @arena modifier to the 1st column in the reg profile 2016-11-12 23:19:03 +01:00
pancake
3654e5f33b Fix regression in reg.type=flg 2016-08-14 19:12:52 +02:00
pancake
2f339144f4 Fix some latest covs 2016-08-05 13:25:20 +02:00
pancake
2138ca700c Fix #5019 - registers are now accessible by index 2016-05-31 14:11:09 +02:00
Sven Steinbauer
547f8bbc5c Infer fixes Round 2 (#4993) 2016-05-24 22:22:15 +02:00
pancake
4476720aa8 Fix regprofile regression 2016-04-08 13:36:15 +02:00
Lukas Dresel
5a4fe03d41 Fix #4495 - rasm2 not loading all the plugins
- Fixed misplaced free(tmp) i broke
- Made plugin loading work the same in every tool.
- Removed last instances of hardcode 'LIBR_PLUGINS' string
2016-04-05 22:42:19 +02:00
pancake
740e43eadd Fix some segfault and consistencies 2016-04-04 01:59:30 +02:00
pancake
9bd4e213b2 Enhance cpsr in ARM and handle new bitsize syntax in reg profile 2016-01-11 02:35:57 +01:00
pancake
7bef915a8d Implement arC/drC to show comments in regprofiles 2016-01-09 03:14:18 +01:00
pancake
cfb03d3772 More indentation fixes 2015-12-09 00:27:31 +01:00
pancake
a4fc08b401 More auto-indentation enhancements 2015-12-08 23:55:23 +01:00
pancake
85ba262c17 Fix #3761 - Fix drd and add aras command to swap arenas 2015-11-25 15:20:25 +01:00
pancake
ba73d31cf3 Fixes for android-arm64 2015-11-15 02:20:57 +01:00
pancake
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
pancake
f776f5a515 Implement RReg API for long double and packed registers 2015-08-23 03:58:49 +02:00