pancake
02a0ff8bbb
Please some else lints
2023-11-13 15:52:48 +01:00
pancake
51b7c0aacd
Fix UAF in RNumCalc ##crash
2023-05-08 19:32:07 +02:00
pancake
699f9d8651
Add lint for ==' to improve code readability
2023-01-16 13:43:38 +01:00
pancake
8c8a06cfd7
Improve x86.nz assembler parsing and other bugs in rnum ##arch
...
* Disable all the gas tests, will be re-enabled with arch.any.as
2022-11-30 15:43:54 +01:00
pancake
53b28aecab
Better handle of RNum errors for egg and arch.x86.nz ##arch
2022-11-30 15:43:54 +01:00
pancake
16cb83a19c
Use more tabs and add a (disabled for now) linter for it ##lint
2022-09-23 22:07:49 +02:00
pancake
7a35f03471
More source spacing linting
2022-08-18 14:37:29 +02:00
pancake
5662271054
Be more strict when parsing numbers ##util
2022-07-31 16:53:42 +02:00
pancake
be93a9c4b0
Implement ~$!! as a tac replacement and clarify the ~$! use ##shell
2022-07-31 01:50:50 +02:00
pancake
6ee9367a1b
Use of RNum.calc in rax2 to honor error code ##tools
2022-07-23 10:23:51 -04:00
pancake
091b7c96c2
Fix last covs and support mount
in ms
##fs
2022-07-08 09:51:21 +02:00
pancake
f8a35da205
Dont use != NULL as its implicit in C, even for bool casts ##refactor
...
$ find binr libr -name "*.c" -exec sed -i -e 's/ != NULL//g' {} \;
2022-03-15 19:54:04 +01:00
Lazula
ad749a0b1a
Fix static/R_API function definition formatting
...
* Remove spaces before parens
* Remove spaces after asterisks
2021-12-21 20:58:12 +01:00
pancake
cdda780e93
Honor < and > comparison operators in RNumMath ##shell ( #18979 )
2021-08-13 21:13:13 +02:00
pancake
847d1671ce
Use RNum.math in "?b" to make '?b 1<<1' work ##shell
2021-08-13 20:29:17 +02:00
Lazula
4a1a624318
Clean up r_num ##util ##refactor ( #18049 )
...
* Fix function spacing for r_num functions
* Remove r_num_ntohs
* Rename r_num_to_trits to r_num_to_ternary for
consistency with surrounding code
* Rename trits to ternary in other files
* Fix spacing in test_contrbtree.c
2020-12-17 22:24:27 +01:00
pancake
aaa930ab26
Improve and formalize r_name_check() along all the base ##core ( #18020 )
2020-12-16 14:49:50 +01:00
radare
e04f31a313
Completely kill the msvc/ directory and the unix-specific includes workarounds
2019-03-19 17:34:02 +01:00
pancake
b4504f9564
Fix #13039 - Crash in 'echo 0xF..A | rax2'
2019-02-10 03:00:21 +01:00
dav1901
f24556c189
Fix few clang-analyzer warnings ( #12548 )
2018-12-24 01:18:12 +01:00
Michael Scherer
e18c16e714
Do not crash if a string with a size of R_NUMCALC_STRSZ is passed ( #11498 )
...
Since str is a fixed array of R_NUMCALC_STRSZ, str[i] will crash
with ASAN if i == R_NUMCALC_STRSZ, as it happen with the loop
and 'i++'
Fix another issue reported on https://github.com/radare/radare2/issues/11407
2018-09-14 16:58:37 +02:00
Neven Sajko
4a722e80d8
Add braces to if, else, for, while ... ( #11504 )
2018-09-13 10:17:26 +02:00
Neven Sajko
d8784641ee
Add parentheses in macros where needed for safety ( #11290 )
2018-08-30 13:16:50 +02:00
Khairul Kasmiran
c79874941e
Check whether r_num_get is called under r_num_calc and init RNum.nc.errors if not
2018-04-21 11:37:19 +02:00
Riccardo Schirone
98fa3a33c5
util/num: add support for ROR and ROL
2018-04-07 16:49:33 +02:00
pancake
335938be58
r_str_chop -> r_str_trim
2018-01-08 03:22:26 +01:00
pancake
fe6bfce9e8
Implement anal hints for htons immbase
2017-11-09 12:57:51 +01:00
pancake
e445f6cef0
Support underscores in hex numbers
2017-07-10 12:31:50 +02:00
pancake
f1a31c0730
Fix #7006 - Support decimal in unit strings (f.ex: 2.3K)
2017-03-12 23:15:57 +01:00
SchumBlubBlub
6c00c9e2d5
Reorganize string macros
2017-02-06 00:00:03 +01:00
Álvaro Felipe Melchor
defe17789a
Coding style fixes
2017-02-03 10:13:43 +01:00
Álvaro Felipe Melchor
0ff4bd0ff9
Fix #6635 - oobr due to RNumCalc->calc_buf dereference
2017-02-03 10:13:43 +01:00
pancake
f47a328e32
Fix #5449 - Fix floating point computation
2016-08-04 19:45:36 +02:00
pancake
e9f14cb4a0
Fix 4b85cff331
util.calc regression
2016-06-14 03:22:43 +02:00
pancake
4b85cff331
Fix buffer overflow in r_num_math
2016-06-14 02:19:20 +02:00
Álvaro Felipe Melchor
fb52d91d95
fix oob in seek line
2016-05-23 22:07:32 +02:00
pancake
35ec317f2f
Support shift << and >> in RNumCalc
2016-05-11 00:28:42 +02:00
pancake
04cd1250c2
Add alignment for AVR code
2015-11-15 00:29:33 +01:00
pancake
a916a735e9
Fix #3682 - Handle 'x' char values by RNum
2015-11-12 00:20:37 +01:00
jvoisin
38d79c727d
Some coverifix
2015-07-08 22:52:24 +02:00
pancake
a870a9f788
Refix for #2889 - that was nasty
2015-07-08 18:33:29 +02:00
pancake
61eb7d3abe
Fix #2889 - Fix use after free in rnum
2015-07-08 14:55:52 +02:00
jvoisin
0c144f16bc
Even more coverifixes
2015-06-02 22:59:30 +02:00
pancake
4e136fb32f
Fix #2289 - division ignored in some rnum calc ops
2015-04-03 03:25:30 +02:00
pancake
68c98b2b05
Remove debug printf, fix crash in rabin2 -qzz
2015-04-01 20:56:12 +02:00
Kamil Rytarowski
aadbd0f868
Fix GCC warnings: array subscript has type 'char'
...
Reported at NetBSD-current/amd64
GCC 4.8.4 (nb1 20141012)
2014-12-04 03:26:08 +00:00
Jeffrey Crowell
0dd1071033
fix crash in rasm2 'add eax, /'
2014-11-18 11:46:14 +01:00
pancake
ccffbeb9c8
Fix #1567 - Show error when trying to divide by zero
2014-11-07 12:16:29 +01:00
pancake
44f43eb42b
Use MAKE_JOBS in more places
2014-05-03 01:23:12 +02:00
Anton Kochkov
41aa422a8a
Fix CID #1135168
2014-04-25 04:37:18 +04:00