Commit Graph

296 Commits

Author SHA1 Message Date
satk0
060d976412
Replace other r_return_* uses and update DEVELOPERS.md ##refactor 2024-08-05 13:31:58 +02:00
satk0
ebd8bf9042
Replace r_return_val_if_fail with uppercase alternative 2024-08-05 12:26:32 +02:00
pancake
95501f36ad Build fs.squashfs with the make build system too ##fs 2024-06-06 10:30:13 +02:00
pancake
603ff5c287 Check for libsqsh to fix build errors if requested but not provided 2024-06-05 17:48:03 +02:00
Enno T. Boland
564cbcb973
Initial squashfs support (meson only + introduces subprojects) 2024-06-05 09:14:49 +02:00
pancake
8975e3e1a2
Expose ownership and permissions to the posix filesystem ##fs 2024-03-15 16:59:31 +01:00
pancake
da62c26636 Fix #22549 - all warnings spotted by infer 2024-01-24 11:35:29 +01:00
pancake
42a1634e5e
Use RPluginMeta in RFS ##abi 2023-09-12 16:39:03 +02:00
Luc Tielen
26599b7dbe Refactor structure of metadata for core plugins ##core 2023-08-14 11:05:34 +02:00
Luc Tielen
a40d2e8006 Fix removing core plugins from Lc after L- ##core 2023-06-27 11:45:23 +02:00
icy17
8fdfd41477
Fix memleak in fs_zip.c 2023-01-27 12:46:09 +01:00
pancake
699f9d8651 Add lint for ==' to improve code readability 2023-01-16 13:43:38 +01:00
pancake
a06ade1796
Balance spacings in braces ##indent 2022-10-13 21:21:34 +02:00
pancake
ca2674228f Add missing zip dependency to r_fs needed for static build 2022-09-15 11:54:24 +02:00
pancake
a6e0d6c480 Merge rhash into rcrypto and improve apis ##api
* Update meson and make build systems
* Remove leftovers and unused dependencies
2022-09-15 11:25:40 +02:00
pancake
18220d39df Change build order as long as now bin depends on fs ##build
* Add bin.zip for meson builds
* bin.fs now uses the fs apis
2022-09-15 00:23:21 +02:00
pancake
241a905bbe Dissolve libr/fs/types.h into fs.c and r_fs.h 2022-09-14 23:44:55 +02:00
pancake
007809f8dd Boolify and rename some methods and fields from RFS ##api
* fs plugins now can hold an .author field
* API breaks for simplicity
2022-09-14 23:41:12 +02:00
pancake
5ffc549708
Fix last covs 2022-08-23 17:43:34 +02:00
pancake
b6e7292019 Enable linting for trailing tabs ##lint 2022-08-22 23:25:40 +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
02c17a9b59 Implement mdd, mdq and ms's ls -l ##fs 2022-08-22 01:50:32 +02:00
pancake
521e296fd7 Fix UAF in md<tab> by owning the graph by core in the heap, not in stack 2022-08-22 01:50:32 +02:00
pancake
82646917c7 Use RLOG in fs, fix null fs.mount and unused drx_at warning 2022-08-22 01:50:32 +02:00
pancake
53f646f098 Add initial fs.zip plugin, listing only for now ##fs 2022-08-22 01:50:32 +02:00
pancake
e4e4ecc605 Add lint for ';;$' and remove strncmp from io plugins 2022-08-18 00:11:36 +02:00
pancake
091b7c96c2
Fix last covs and support mount in ms ##fs 2022-07-08 09:51:21 +02:00
pancake
f78330e37e
Merge asm.mips(cs,gnu) into anal.mips ##refactor 2022-07-07 18:43:00 +02:00
pancake
3a509e819d
Refactor the RFS.Shell and add the getall command ##fs 2022-07-07 17:56:39 +02:00
pancake
a297b27773 Add fs.cwd to define default path in ms ##fs
* Remove unnecessary global variable
2022-07-07 11:10:53 +02:00
pancake
d7f19855ff Fix mountpoint listing in the rfs shell ##fs 2022-07-05 17:18:18 +02:00
pancake
2bca764ad3 Cleanup stuff
* Use more R_TH_LOCAL
* Use more const char * const
* Add archinfo for cr16
* Use more R_LOG
* Remove dup code in RCons.pixel
2022-06-26 12:41:22 +02:00
gitcolt
e8a8a3532e
Fix #16395 - Add open file command to the ms shell ##shell 2022-06-23 02:33:30 +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
4ba0af5d1d Fix meson -Dblob=true builds for static ##windows 2022-03-16 00:48:50 +01:00
Lazula
55bfe93735 Fix problems in l command 2022-03-03 09:31:08 +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
Sergi Àlvarez i Capilla
0e5a79ecb2 Use base64: on all the fs.io calls 2021-10-26 12:45:02 +02:00
Sergi Àlvarez i Capilla
8bef293742 Add b64 handling for md 2021-10-26 11:40:34 +02:00
pancake
7a2c46dfa6
Always use b64 encoded filepaths on the fs.io calls ##fs 2021-10-26 11:27:59 +02:00
pancake
e80bc53cd6 Fix UB bug found randomly in the CI related to the mw command
* That was not spotted by valgrind or asan 🤦
2021-09-15 10:09:08 +02:00
pancake
819a13f816 Fix assert warning in r_fs_umount 2021-09-09 20:54:57 +02:00
pancake
d98abc6303 Random cleanup in fs code 2021-09-02 18:26:37 +02:00
pancake
ed495116e0 Use r_return in the r_fs api 2021-09-02 18:26:37 +02:00
pancake
23ad9b50ee
Fix #12335 - ignore system-installed r2 includes ##build 2021-05-28 00:45:48 +02:00
murphy
ec15814134 Fix 1446672 Resource leak 2021-04-13 20:09:33 +02:00
pancake
26d12a4404
Fix meson build issues related to grub (#18554) ##build 2021-04-09 19:54:55 +02:00