File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,13 +5,13 @@ FROM gcr.io/oss-fuzz-base/base-builder:v1
55
66# Copy the project's source code.
77COPY . $SRC/app-ethereum
8- COPY --from=LITE_BUILDER /opt/ledger-secure-sdk $SRC/app-ethereum/BOLOS_SDK
9-
10- # Add the ethereum-plugin-sdk submodule
11- RUN git clone https://github.com/LedgerHQ/ethereum-plugin-sdk.git $SRC/app-ethereum/ethereum-plugin-sdk
8+ COPY --from=LITE_BUILDER /opt/nanos-secure-sdk $SRC/app-ethereum/BOLOS_SDK
129
1310# Working directory for build.sh
1411WORKDIR $SRC/app-ethereum
1512
13+ # Add the ethereum-plugin-sdk submodule
14+ RUN git submodule update --init
15+
1616# Copy build.sh into $SRC dir.
1717COPY ./.clusterfuzzlite/build.sh $SRC/
Original file line number Diff line number Diff line change 11[submodule "ethereum-plugin-sdk "]
22 path = ethereum-plugin-sdk
3- url = git@ github.com: LedgerHQ/ethereum-plugin-sdk.git
3+ url = https:// github.com/ LedgerHQ/ethereum-plugin-sdk.git
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ endif()
1717
1818# default fuzz device target
1919if (NOT TARGET_DEVICE)
20- set (TARGET_DEVICE "flex " )
20+ set (TARGET_DEVICE "nanos " )
2121endif ()
2222
2323if (NOT DEFINED BOLOS_SDK)
@@ -50,8 +50,7 @@ endif()
5050set (DEFINES
5151 gcc
5252 APPNAME=\"Fuzzing\"
53- API_LEVEL=21
54- TARGET=\" flex\"
53+ TARGET=\" ${TARGET_DEVICE} \"
5554 TARGET_NAME=\" TARGET_FUZZ\"
5655 APPVERSION=\" 1.1.0\"
5756 SDK_NAME=\" ledger-secure-sdk\"
You can’t perform that action at this time.
0 commit comments