Skip to content

Commit 6b3d37c

Browse files
committed
readme: rename project
The patch renames repositories: ligurio/lua-c-api-tests -> ligurio/lunapark ligurio/lua-c-api-corpus -> ligurio/lunapark-corpus
1 parent e625f7e commit 6b3d37c

File tree

7 files changed

+28
-15
lines changed

7 files changed

+28
-15
lines changed

.clusterfuzzlite/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN apt-get update && apt-get install -y \
1010
build-essential ninja-build cmake make \
1111
libreadline-dev libunwind-dev zlib1g-dev
1212

13-
COPY . $SRC/lua-c-api-tests
14-
WORKDIR $SRC/lua-c-api-tests
15-
RUN git clone --depth 1 --branch cfl https://github.com/ligurio/lua-c-api-corpus corpus
13+
COPY . $SRC/lunapark
14+
WORKDIR $SRC/lunapark
15+
RUN git clone --depth 1 --branch cfl https://github.com/ligurio/lunapark-corpus corpus
1616
COPY .clusterfuzzlite/build.sh $SRC/

.clusterfuzzlite/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
################################################################################
77

88
# Clean up potentially persistent build directory.
9-
[[ -e $SRC/lua-c-api-tests/build ]] && rm -rf $SRC/lua-c-api-tests/build
9+
[[ -e $SRC/lunapark/build ]] && rm -rf $SRC/lunapark/build
1010

11-
cd $SRC/lua-c-api-tests
11+
cd $SRC/lunapark
1212

1313
# For some reason the linker will complain if address sanitizer is not used
1414
# in introspector builds.

.github/workflows/cflite_batch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ jobs:
4242
sanitizer: ${{ matrix.sanitizer }}
4343
storage-repo-branch-coverage: gh-pages
4444
storage-repo-branch: cfl
45-
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/ligurio/lua-c-api-corpus
45+
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/ligurio/lunapark-corpus

.github/workflows/cflite_cron.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
parallel-fuzzing: true
3838
storage-repo-branch-coverage: gh-pages
3939
storage-repo-branch: cfl
40-
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/ligurio/lua-c-api-corpus
40+
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/ligurio/lunapark-corpus
4141

4242
# Corpus Pruning ("prune").
4343
# Over time, redundant testcases will get introduced into your fuzzer's corpuses
@@ -66,4 +66,4 @@ jobs:
6666
parallel-fuzzing: true
6767
storage-repo-branch-coverage: gh-pages
6868
storage-repo-branch: cfl
69-
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/ligurio/lua-c-api-corpus
69+
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/ligurio/lunapark-corpus

.github/workflows/cflite_pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
language: c
5757
sanitizer: ${{ matrix.sanitizer }}
5858
github-token: ${{ secrets.GITHUB_TOKEN }}
59-
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/ligurio/lua-c-api-corpus
59+
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/ligurio/lunapark-corpus
6060
storage-repo-branch: cfl
6161
storage-repo-branch-coverage: gh-pages
6262
- name: Run fuzzing tests (${{ matrix.sanitizer }})
@@ -71,4 +71,4 @@ jobs:
7171
sanitizer: ${{ matrix.sanitizer }}
7272
storage-repo-branch-coverage: gh-pages
7373
storage-repo-branch: cfl
74-
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/ligurio/lua-c-api-corpus
74+
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/ligurio/lunapark-corpus

README.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,30 @@
1717
</tr>
1818
</table>
1919

20-
# Lua C API tests
20+
# lunapark
2121

2222
is a set of fuzzing tests for C implementations of Lua runtime (PUC Rio Lua and
2323
LuaJIT).
2424

25+
<details>
26+
<summary>If you are interested to know why it is called Lunapark</summary>
27+
Originally, "lunapark," or more accurately "Luna Park," is a name
28+
shared by dozens of currently operating and defunct amusement
29+
parks. Usually, Luna Parks are small-scale attraction parks.
30+
Fuzzing and debugging Lua runtimes (especially LuaJIT) is also,
31+
in a sense, an attraction and unforgettable adventure.
32+
Furthermore, the first word ("luna") in Russian means "moon," the
33+
only natural satellite of Earth, and the programming language Lua
34+
(pronounced LOO-ah) also means "moon" in Portuguese. That's why
35+
the project was named "lunapark".
36+
</details>
37+
2538
### Building
2639

2740
```sh
28-
git clone https://github.com/ligurio/lua-c-api-tests
29-
cd lua-c-api-tests
30-
git clone https://github.com/ligurio/lua-c-api-corpus
41+
git clone https://github.com/ligurio/lunapark
42+
cd lunapark
43+
git clone https://github.com/ligurio/lunapark-corpus
3144
CC=clang CXX=clang++ cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DUSE_LUA=ON [-DUSE_LUAJIT=ON]
3245
cmake --build build --parallel
3346
```

tests/capi/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ message(STATUS "Add Lua C API test suite")
3737
# declared earlier, so we need to add `-g` to CFLAGS by ourselves.
3838
# See [1].
3939
#
40-
# 1. https://github.com/ligurio/lua-c-api-tests/pull/6#discussion_r1185003511
40+
# 1. https://github.com/ligurio/lunapark/pull/6#discussion_r1185003511
4141
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
4242
AppendFlags(LDFLAGS ${CMAKE_C_FLAGS_DEBUG})
4343
endif()

0 commit comments

Comments
 (0)