850 Commits

Author SHA1 Message Date
pancake
6db7d19e72 Add linting to spot misuses of r_strbuf_appendf and fix them all ##refactor 2022-09-09 23:12:01 +02:00
pancake
d020b38d32 Use more Config.setBoolean() and lint some cases 2022-09-06 22:23:08 +02:00
pancake
24cb5cb7f9 Fix Unkown -> Unknown typo and add lint for it 2022-09-06 08:08:24 +02:00
pancake
84a97a57e6 Use more R_LOG in core, bin, debug, io, .. and add more lints 2022-09-06 08:08:24 +02:00
pancake
fb28389d4a sys/lint.sh can run from any directory now 2022-09-04 00:49:56 +02:00
pancake
b6e7292019 Enable linting for trailing tabs ##lint 2022-08-22 23:25:40 +02:00
pancake
db747e1782
Use more R_LOG in rbin 2022-08-22 22:59:00 +02:00
pancake
d66eeb3e0c Some safe fixes in rbin ##crash
* integer overflow allocation bug in macho
* free methods may accept null
2022-08-22 22:07:56 +02:00
pancake
939fce3888 Add lint for C++ include support ##build 2022-08-22 19:01:34 +02:00
Richard Patel
e319a7a71e add libFuzzer integration, r_run_parseline test ##fuzz 2022-08-21 22:35:28 +02:00
pancake
55d9d55787
Linting for 'cmp (' and asan in Cf 2022-08-20 12:35:11 +02:00
pancake
785a469a6d else block linting 2022-08-18 18:35:22 +02:00
pancake
7a35f03471 More source spacing linting 2022-08-18 14:37:29 +02:00
pancake
a538b2b700 Add =0 and =1 lintings 2022-08-18 13:58:40 +02:00
pancake
52a22ab995 Add lint for \tfree( 2022-08-18 10:27:06 +02:00
pancake
41cf0bcf39 Add the 'i<' lint 2022-08-18 10:27:00 +02:00
pancake
660478b3cc sys/lint for '0 ;' 2022-08-18 10:26:56 +02:00
pancake
e4e4ecc605 Add lint for ';;$' and remove strncmp from io plugins 2022-08-18 00:11:36 +02:00
pancake
aa990230cc Lint for col0 eprintfs 2022-08-15 18:28:07 +02:00
pancake
8c66266e99 Lint for trailing spaces 2022-08-15 18:21:18 +02:00
pancake
54d66a1536 Fix typo in m1 build script 2022-08-01 18:35:22 +02:00
Richard Patel
b78855c38d Refactor a few eprintf 'Cannot …' to R_LOG_ERROR 2022-08-01 16:46:46 +02:00
Richard Patel
dcd740dd53
Refactor a few eprintf to R_LOG_ERROR ##refactor 2022-08-01 00:21:21 +02:00
pancake
d6d14b2a71 Add spacing linting checks for public function signatures 2022-07-27 10:34:24 -04:00
pancake
c06d8362c7 lochist script now takes an argument with the commit to count 2022-07-15 12:25:27 +02:00
pancake
4ab05040c5
Publish m1 packages automatically on release time ##ci 2022-07-08 12:39:26 +02:00
pancake
ad1add71cb
Fix a new linting to remove the double error message in RLOG calls ##lint 2022-07-07 20:25:26 +02:00
Sergi Àlvarez i Capilla
1914cdc432 Add line count history helper scripts ##ci 2022-07-07 13:31:31 +02:00
pancake
332574aeb5
More eprintf -> RLOG here and there ##refactor 2022-07-05 13:34:13 +02:00
pancake
e2bbe2b14e
Add a linting to avoid R_LOG calls ending with a dot ##lint 2022-07-04 17:42:25 +02:00
pancake
9f12bfd0a8
Get rid of some globals and tls-ify others 2022-07-03 10:01:58 +02:00
pancake
47b7e8ae2b Add and fix two more for loop linter rules 2022-07-02 22:40:28 +02:00
pancake
bb49596759
Use r_str_startswith() in libr/io/p instead of strncmp ##lint 2022-07-01 17:10:05 +02:00
pancake
bed72b73b2
Add another source linting to avoid newlines in RCore.cmd() ##refactor 2022-06-30 22:22:30 +02:00
pancake
fca98fbea7
Use more R_LOG in core/cmd_anal 2022-06-30 20:55:47 +02:00
pancake
0f8321842f
Merge the asm.mcs96 plugin into anal ##refactor 2022-06-28 14:32:12 +02:00
pancake
3db3750eb0
Lint for x"" ##cleanup 2022-06-28 12:07:58 +02:00
pancake
304a3a7fcf
Use more R_LOG instead of eprintfs and add more linting checks ##refactor 2022-06-28 11:24:06 +02:00
Richard Patel
363df75c06
Replace some instances of eprintf with R_LOG_ 2022-06-28 02:49:42 +02:00
pancake
e69645a9c2 Add sys/lint.sh and run it in the CI ##refactor 2022-06-27 11:31:24 +02:00
Denis Ovsienko
a0fec9b8fc Fixup commit 88f5284.
"source" is a bashism, and in shells that implement POSIX shell when
invoked as /bin/sh (such as dash in Ubuntu) it usually means an error:

./sys/debian.sh: 21: ./sys/debian.sh: source: not found

Use the portable "." equivalent to make it good.
2022-06-09 23:47:12 +02:00
pancake
88f5284422 Massage MAKE_JOBS for sys/debian.sh too ##build 2022-06-09 19:10:16 +02:00
pancake
44b3dff342 Move -Werror from sys/debian.sh to ghci's build.yml 2022-06-09 18:18:16 +02:00
pancake
821d92d500 Fix noisy pkg-config warnings in sys/install.sh 2022-06-08 23:29:14 +02:00
pancake
d71629bf38 Fix -Werror=overflow in anal.bpf 2022-06-07 11:08:21 +02:00
condret
426b503c0c Update clang-format.py skiplist 2022-05-18 06:59:34 +02:00
pancake
2beaa78069
Remove asm.bf, and move its .opasm to the anal.bf ##anal (#20070) 2022-05-08 13:36:42 +02:00
pancake
15df7cc457 Minor cleanup in sys/install.sh 2022-04-22 15:59:24 +02:00
kakamaika
58e795ec28
Fix for --without-pull not working in install.sh ##build 2022-04-21 18:06:59 +02:00
pancake
60182bb63a Add missing export cflags in sys/user 2022-03-22 09:44:10 +01:00