Commit Graph

295 Commits

Author SHA1 Message Date
pancake
4b769417e2
Remove RAsmPlugin struct and add the 'aia' command to show archinfo ##arch 2022-12-06 12:16:45 +01:00
pancake
ccb7351b5e
Merge RParse into RAsm ##api 2022-12-03 02:26:41 +01:00
pancake
19a377bbda Fix and move failing tests, reorder lib build ##arch 2022-11-30 15:43:54 +01:00
pancake
0b48b67fd1 Temporary add RAnal as dependency for REgg ##arch 2022-11-30 15:43:54 +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
9a4fe919c6
Prefer _tostring() instead of _to_string() ##api 2022-10-24 20:59:18 +02:00
pancake
a06ade1796
Balance spacings in braces ##indent 2022-10-13 21:21:34 +02: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
f6383a05f3 Introduce the new r_arch library, just the skeleton ##arch 2022-09-18 03:41:39 +02:00
condret
e2889de5bf Rename R_ASM_SYNTAX to R_ARCH_SYNTAX ##refactor 2022-09-17 00:14:21 +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
58ea6757eb Honor : table modifiers in om, ##shell 2022-08-22 01:50:32 +02:00
pancake
87239d64f6 omt->om, and make omr print map size with no args ##shell
* Fill null deref if fs plugin doesnt provide the dir callback
2022-08-22 01:50:32 +02:00
pancake
785a469a6d else block linting 2022-08-18 18:35:22 +02:00
pancake
b0fbfcdf55 Fix build 2022-08-18 14:54:55 +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
8c66266e99 Lint for trailing spaces 2022-08-15 18:21:18 +02:00
Richard Patel
b78855c38d Refactor a few eprintf 'Cannot …' to R_LOG_ERROR 2022-08-01 16:46:46 +02:00
pancake
9b1bc3f85f Fix drf for esil in panels and indent the egg 2022-08-01 04:18:42 +02:00
Richard Patel
dcd740dd53
Refactor a few eprintf to R_LOG_ERROR ##refactor 2022-08-01 00:21:21 +02:00
Adwaith V Gautham
a2007867bb
Fix #16209 - ragg2 on macOS ##tools 2022-07-31 19:06:40 +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
pancake
e2bbe2b14e
Add a linting to avoid R_LOG calls ending with a dot ##lint 2022-07-04 17:42:25 +02:00
Richard Patel
363df75c06
Replace some instances of eprintf with R_LOG_ 2022-06-28 02:49:42 +02:00
pancake
f46c4e793f
Move more local static into the thread-local-storage (#20134) 2022-05-19 12:41:26 +02:00
pancake
ca12052f3c Rename REgg.Cfile to REgg.cfile ##abi 2022-05-09 08:20:01 +02:00
pancake
6d3f5a5044
Use longer names in enum to avoid conflicts with the SerenityOS toolchain ##build 2022-05-09 01:57:23 +02:00
pancake
5b7c970f2b eprintf requires newline
* git grep eprintf | grep -v '\\n'| grep '('
2022-05-05 13:11:52 +02:00
pancake
818fc91ec8 Fix last covs - memleaks and null derefs 2022-04-11 21:16:36 +02:00
pancake
0c208cf18d
Initial WIP implementation of the ESIL backend for ragg2 ##egg 2022-04-09 14:07:07 +02:00
pancake
c8ae21f68f
Only build library archives when -Dblob is provided ##build
* Lowers the amount of objects from 2400 to 1500
2022-03-22 11:59:13 +01: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
Sergi Àlvarez i Capilla
aef278ee9c Make -Dblob=true statically link all r2 libraries ##build 2022-03-02 11:30:28 +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
e6f2cd0b2a
Remove trailing spaces (#19460)
$ git grep ' $' | grep -v ^test/ | cut -d : -f 1 | sort -u > /tmp/trailing
$ for a in `cat /tmp/trailing` ; do sed -i -e 's/ *$//' $a ; done
2021-12-02 17:39:59 +01:00
Lazula
2255bf8b5d Many indentation style fixes
* Change several 8-space indents to tabs
* Apply tab indent style when breaking long lines
* Move operators from EOL to start of next line
* Fix ternary formatting
2021-11-18 10:43:52 +01:00
pancake
51e890ca3e Add ragg2 -e to pass egg programs as argument, and improve code quality
* Use more bool and r_return asserts
* Update manpage and help message
* Spotted some issues in the x86 assembler
2021-05-04 13:16:55 +02:00
pancake
4ae7cef832 Add dxe? help, improve parsing and few egg boolification 2021-05-04 12:51:09 +02:00
pancake
da3db59a22
Remove some exit() calls in libr ##api (#18565)
Co-authored-by: Anton Kochkov <xvilka@gmail.com>
2021-04-11 02:34:23 +02:00
pancake
a7c08c15ce Don't scream out WARNINGs, capitalizing it is enough 2021-03-19 11:02:54 +01:00
Paul I
902d12b5ec Free objects allocated by rz_syscall_get() 2021-03-15 02:24:16 +01:00
Alexis Ehret
21c98d60ac Remove all dead assignment detect by clang sa (#310) ##rizin 2021-01-19 05:37:17 +01:00
pancake
76cd69ad66 Proper artifact naming and use more r_str_get to avoid some null derefs 2021-01-13 02:08:06 +01:00
Liumeo
4287408a3e
Fix ARM64 db/tools/ragg2 (#17801) 2020-10-19 18:21:49 +08:00
pancake
aa7de006e6 Fix TinyCC build ##build 2020-09-27 13:33:26 +08:00