Commit Graph

46 Commits

Author SHA1 Message Date
pancake
b6e7292019 Enable linting for trailing tabs ##lint 2022-08-22 23:25:40 +02:00
pancake
90143a716f
Fix #20040 - invalid char bug in afl* when function names contain ';' ##projects
* Rename r_name_filter2() to r_name_filter_dup()
* Abi break as now `r_name_validate_char` is no longer an static inline
* Fixes some project save/load inconsistencies
2022-05-05 02:08:54 +02:00
Sergi Àlvarez i Capilla
6e90379057 Fix swift metadata string allocation and filtering bug 2022-03-31 12:25:50 +02:00
pancake
242bf08b62 Improve the way color flags are handled ##print 2022-01-23 22:47:04 +01:00
pancake
3e90cc00ed Fix memleaks spotted by coverity 2021-07-29 19:53:50 +02:00
pancake
ebd98157c9 Optimize and improve r_name_filter calls ##core 2021-07-26 01:03:34 +02:00
pancake
d3157e2ed3
Fix 32 critical COVs (UAF, UB and OOB) (#18077) 2020-12-21 01:10:22 +01:00
pancake
aaa930ab26
Improve and formalize r_name_check() along all the base ##core (#18020) 2020-12-16 14:49:50 +01:00
GustavoLCR
ee46646df8
Set realname for PDB flags (#17967) 2020-11-27 12:22:58 +08:00
pancake
ab05f06287
Some random cleanups in RUtil (#16457) 2020-04-07 14:07:40 +02:00
radare
5e629a3260
Avoidify the strTrim() APIs + cleanup/refactor ##util (#16056) 2020-03-02 21:39:37 +01:00
Anton Kochkov
9ae41ae69f
Revert "Avoidify the RUtil.strTrim() APIs, rename trimHeadTail() and add asserts in RConfig ##refactor" (#16055)
This reverts commit 38b61c7bcf.
2020-02-26 09:59:04 +08:00
radare
38b61c7bcf
Avoidify the RUtil.strTrim() APIs, rename trimHeadTail() and add asserts in RConfig ##refactor 2020-02-25 17:53:09 +01:00
radare
197562b516
Fix code injection issues i* commands (rabin2 -r) ##bin (#14952) 2019-09-03 00:15:56 +02:00
radare
a96d85e0a8
Modernize RFlag with asserts, boolified and more ##refactor 2018-10-30 04:36:02 +01:00
Neven Sajko
4a722e80d8 Add braces to if, else, for, while ... (#11504) 2018-09-13 10:17:26 +02:00
pancake
848981912f Fix last covs, and some reindents 2018-04-11 10:25:22 +02:00
Khairul Azhar Kasmiran
4b7ee94873 r_name_filter: treat \a as special char too (#9655) 2018-03-11 16:10:54 +01:00
Tatsuyuki Ishi
e2771d738d r_name_filter: Fix buffer overflow 2017-12-21 14:42:06 +01:00
Khairul Kasmiran
f06a36097e Minor code edits 2017-12-19 22:18:00 +08:00
januschp
e16e1a12db Removing special chars from str flags. Leading and trailing underscores (#8972)
are removed by r
2017-12-19 21:57:32 +08:00
SchumBlubBlub
6c00c9e2d5 Reorganize string macros 2017-02-06 00:00:03 +01:00
Maijin
c274afe748 Fix #3286 - Use stdbool.h 2016-07-12 22:15:19 +02:00
pancake
a362dcf6d9 Update sdb and fix more null derefs caused by mem exhaustion 2016-01-11 00:24:18 +01:00
pancake
0880d7d4f5 Some refactor/cleanup for agf and io cache (wip) 2015-12-08 14:59:30 +01:00
pancake
991c39a601 More whitelisted auto-indented files 2015-12-08 13:24:21 +01:00
pancake
45c7c923af Better dtc, demangling support. Handle RABIN2_LANG, and more c++ autodetect
* r_name_filter(len:-1) strlens the string
* Show symbol names in `dtc` (calltracer)
2015-10-19 13:21:12 +02:00
pancake
8f79f82048 Fix 0576be2359 2015-09-25 10:49:27 +02:00
jvoisin
0576be2359 Small optimizations and coverity-- 2015-09-25 01:51:29 +02:00
pancake
0cb78f973e Fix #2004 - filter flag names in dm* 2015-01-29 02:25:00 +01:00
pancake
b7c3ded3b9 Fix #1975 - Replace flags in ${} for ?e 2015-01-18 02:17:55 +01:00
pancake
d7fada10a2 Some work on bin.demangle 2015-01-02 02:10:20 +01:00
pancake
9f570a927b Fix overrun in r_buf api 2014-11-10 02:08:32 +01:00
pancake
81f1fd41b7 Fix coverity issues 2014-11-09 18:29:24 +01:00
pancake
40f202c7ee Fix issue bad string filtering in PDB symbol names 2014-11-09 18:11:03 +01:00
pancake
0931f502ed Implement asm.demangle and bin.demangle, add 'fn' to display realname of flags 2014-09-24 03:01:18 +02:00
Fedor Sakharov
8f4b2cdf5b Fix cpp names demangling 2014-09-24 02:08:18 +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
pancake
1d8bd40ace Use sscanf again. strtoull is broken (fix testsuite) 2013-11-13 02:30:00 +01:00
pancake
a1aafc6adc Do not allow to create flags starting with a number 2013-09-07 02:39:26 +02:00
pancake
96d1a1141b Fix invalid flag name filtering issue and add rax2 -t (timestamp) 2013-04-16 01:48:03 +02:00
pancake
baae1f6e6a Honor $. variables to get regs and fix Ps string filter bug 2012-12-14 10:51:25 +01:00
pancake
674c732f53 Implement 'fb' command and enforce 'fr' rules 2012-11-13 03:25:07 +01:00
pancake
2edfc3495e * Re-enable r2 -t - use threads to load big files 2011-09-14 04:31:22 +02:00
pancake
edbcb1cfce * Add 'rwx' permissions information in MACH0 sections
- Lot of syntax indentation fixes
* Use r_name_filter in r_flags
  - Fix dangerous flagnames issue
2011-07-19 18:03:31 +02:00
pancake
c9faf9f88b * Do not load strings if project is already loaded
- Added bin.strings eval key
* Fix range check for anal/meta
* Do not exit(1) when write error on console
* Added 'ad' command to analyze data
  - Find trampolines from data to text f.ex
  - Supports 32 and 64 bit archs
* flags/name moved to util/name

--HG--
rename : libr/flags/name.c => libr/util/name.c
2011-06-04 05:27:26 +02:00