Commit Graph

43 Commits

Author SHA1 Message Date
satk0
ebd8bf9042
Replace r_return_val_if_fail with uppercase alternative 2024-08-05 12:26:32 +02:00
pancake
4b53fd6450 More fixes from the noheapstring pr 2024-07-16 16:44:10 +02:00
pancake
186414f3aa
Minor code optimizations from the utf8heap pr 2024-07-13 15:18:10 +02:00
pancake
02a0ff8bbb Please some else lints 2023-11-13 15:52:48 +01:00
pancake
816e205d3a
Better default colors that works for light and dark terminals ##cons 2023-06-19 01:48:45 +02:00
pancake
dfc05efc87 Lighter precondition checks for acp/utf8 on windows
* Fix an assert on release builds, lazy to debug
2023-06-18 12:08:42 +02:00
pancake
97a6439055 Do the same for __WINDOWS__ -> R2__WINDOWS__ 2022-12-10 20:32:10 +01:00
pancake
05947def03
Move the preincrement and void arg from tests to lint.sh ##syntax
* The regex was not correct, so it was missing a lot of cases
2022-11-30 17:13:32 +01:00
pancake
3e547934c8 Remove global from utf8 ##globals 2022-09-20 00:07:48 +02:00
pancake
21e99d6fa6 More core fixes for Windows 2022-06-09 23:12:33 +02:00
pancake
f46c4e793f
Move more local static into the thread-local-storage (#20134) 2022-05-19 12:41:26 +02:00
pancake
6d5628cd96
Add psa command to print any kind of string ##print 2022-04-08 20:36:10 +02:00
pancake
3e032073a3
Fix null name maps, workaround msvc-asan compiler crash and acp/utf/wchar fixes for w32 2021-11-14 00:50:54 +01:00
Liumeo
fbd2e4469e
Fix LGTM warning in UTF8 handling (#16507) 2020-04-10 12:02:08 +08:00
GustavoLCR
ebaf8b603e Fix some warnings on Windows (#15532) 2019-11-30 00:49:16 +01:00
Khairul Azhar Kasmiran
c4e80f8c6d Support UTF32-BE decoding (#15472) ##bin 2019-11-16 11:27:07 +01:00
Khairul Azhar Kasmiran
5e06b5414d Recognize Unicode BOMs (#15469) ##bin 2019-11-15 16:48:26 +01:00
Paul I
4eabb42f88 Fix potential bugs 2019-09-16 09:37:43 +02:00
Khairul Azhar Kasmiran
4892bdb3ab Fix #14499: Detect ascii substrings ##bin 2019-07-10 18:26:31 +02:00
Anton Kochkov
20e19d6023 More spelling fixes in the code 2019-06-20 13:36:02 +08:00
Alex Gaines
a515176659 Add an early-out optimization for r_isprint (2%-30% speedup) ##optimization 2019-03-27 01:28:18 +01:00
GustavoLCR
3fba693b91 Add support for UTF console input in Windows (#13338) ##windows
* Add support for UTF console input in Windows
* Convert ANSI input to UTF-8
* Convert UTF-8 to acp when calling ANSI version of functions
* Determine if Windows console output is UTF-8 on the fly
2019-03-18 16:05:38 +08:00
Khairul Kasmiran
e830306ff0 Removed some spaces 2019-01-20 22:45:59 +08:00
radare
d8269a9e2b
Use ht to query strings for the cfstrings ##bin
* Fix va/pa issue in cfstrings
* Add many more asserts and fixed some bugs with wrong use of apis
* 6x faster loading times for fruity apps
2018-11-07 23:57:24 +01:00
a1ext
4e8e7de7b4 Fix unicode path issues in Windows ##windows 2018-10-30 01:04:47 +01:00
Neven Sajko
4a722e80d8 Add braces to if, else, for, while ... (#11504) 2018-09-13 10:17:26 +02:00
Khairul Azhar Kasmiran
29d17a5d41 R_STRING_MAX_UNI_BLOCKS: max number of Unicode blocks that a UTF string can consist of (#10453)
* bin.maxuniblocks: max number of Unicode blocks that a UTF string can consist of

* Revert "bin.maxuniblocks: max number of Unicode blocks that a UTF string can consist of"

This reverts commit 0b1fcd3e49.

* Using compile time constant instead of option
2018-06-23 18:23:16 +02:00
pancake
edabf31123 Fix #10261 - Crash in utf8 2018-06-05 16:01:23 +02:00
Vanellope
61050c4587 The place where i fixed caused illegal access to the memory and now fixed (#10135) 2018-05-20 00:33:19 +02:00
pancake
92fc73f7d9 Partially enable utf8 in visual panels and honor color theme 2018-03-05 23:32:27 +01:00
pancake
726f803c19 Drop r_utf_blocks from the extern 2017-08-23 00:50:18 +02:00
Khairul Azhar Kasmiran
bc19bff748 iz/izz: show Unicode blocks (#8237) 2017-08-18 20:06:13 +02:00
Khairul Azhar Kasmiran
6aa1cc250d iz: wide32 -> utf32le (#8160) 2017-08-09 22:56:55 +02:00
Khairul Azhar Kasmiran
1c9d10f6c0 asm.strenc (utf8, guess) (#7849)
* Fix #7674 - fix escaping of \u

* asm.strenc (utf8, guess)
2017-07-02 09:46:59 +02:00
pancake
08d824824e Fix build 2017-04-15 13:29:27 +02:00
Marcel
a4fc91f29b Remove dirent.h dependency for Windows and add utf16<->utf8 conversion function 2017-04-15 13:07:33 +02:00
jvoisin
6b56489eaf Fix a few warnings 2016-09-13 20:35:15 +02:00
pancake
a59e0ce083 Fix crash in gdb:// and some oobreads 2016-09-13 02:38:08 +02:00
Maijin
c274afe748 Fix #3286 - Use stdbool.h 2016-07-12 22:15:19 +02:00
Álvaro Felipe Melchor
d9fb954dec Added string in drr and pxr 2015-10-06 18:23:27 +02:00
pancake
cab0c6ae49 Fix crash in r_utf8_decode 2014-11-04 23:17:52 +01:00
Jonathan Neuschäfer
9b5d4d53bb fix an off-by-one bug in r_isprint
Array accesses, yeah.
2014-09-18 18:56:57 +02:00
LemonBoy
9208946109 Add support for UTF-8 and better WChar strings in RBin
- Better string recognition.
- Better wchar string detection
- UTF-8 helpers. Better string detection.
- Break on invalid sequences
- Fix the vaddr translation. Misc fixes
2014-06-30 16:39:24 +02:00