forked from radareorg/radare2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial smallz4 support, related to radareorg#19849 ##build
* Patch smallz4 to return -1 on error (as opposed to just exit) * Add new function 'unlz4Block_userPtr' that can decompress an lz4 block * New '--with-smallz4' flag to compile and use smallz4 instead of lz4
- Loading branch information
Showing
9 changed files
with
900 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
CFLAGS = -O2 -Wall -pedantic -s -std=c99 | ||
|
||
smallz4cat.o: | ||
$(CC) $(CCFLAGS) $(EXTRAFLAGS) -c smallz4cat.c | ||
|
||
all32: CFLAGS+=-m32 | ||
|
||
sync: | ||
rm -f smallz4cat.c | ||
# Github repo is more up to date despite being a mirror | ||
wget https://raw.githubusercontent.com/stbrumme/smallz4/master/smallz4cat.c | ||
patch -p1 <unlz4block.patch | ||
|
||
.PHONY: clean | ||
clean: | ||
@$(RM) *.o | ||
|
Oops, something went wrong.