Skip to content

Commit 9633845

Browse files
committed
update leger sdk
1 parent 91d946f commit 9633845

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

dockerized_build.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ $(info TESTS_ZEMU_DIR : $(TESTS_ZEMU_DIR))
5252
$(info TESTS_JS_DIR : $(TESTS_JS_DIR))
5353
$(info TESTS_JS_PACKAGE : $(TESTS_JS_PACKAGE))
5454

55-
DOCKER_IMAGE_ZONDAX=zondax/ledger-app-builder:ledger-ca5b0e8ca6730a7d8ba36bae8942a9a7bb6dc7fb
55+
DOCKER_IMAGE_ZONDAX=zondax/ledger-app-builder:ledger-d8e397c73719da1b90e08ff49561df68ecf85d19
5656
DOCKER_IMAGE_LEDGER=ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest
5757

5858
ifdef INTERACTIVE

fuzzing/run_fuzzers.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,10 @@ def run_fuzzer(self, config: FuzzConfig) -> bool:
229229
try:
230230
result = process.wait(timeout=timeout_seconds)
231231
except subprocess.TimeoutExpired:
232-
print(f"⚠️ Fuzzer {config.name} exceeded timeout ({timeout_seconds}s), terminating...")
232+
print(f" Fuzzer {config.name} completed after reaching timeout ({max_time}s), terminating gracefully...")
233233
self._terminate_process_gracefully(process)
234-
return False
234+
# Timeout is expected behavior, not a failure
235+
return True
235236

236237
# After execution, rename the generic fuzz-*.log files to job-specific names
237238
self._rename_job_logs(config.name)
@@ -423,7 +424,7 @@ def run_fuzzers(self, configs: List[FuzzConfig]) -> bool:
423424
print(f"\n📊 Running fuzzer {i}/{len(configs)}: {config.name}")
424425
if not self.run_fuzzer(config):
425426
success = False
426-
print(f"❌ Fuzzer {config.name} failed or found issues")
427+
print(f"❌ Fuzzer {config.name} encountered an error")
427428
else:
428429
print(f"✅ Fuzzer {config.name} completed successfully")
429430

@@ -475,10 +476,10 @@ def main():
475476
runner = FuzzRunner(args.fuzz_dir, args.max_seconds, final_jobs)
476477

477478
if runner.run_fuzzers(configs):
478-
print("All fuzzers completed successfully!")
479+
print("All fuzzers completed successfully!")
479480
return 0
480481
else:
481-
print("Some fuzzers failed or found issues!")
482+
print("Some fuzzers encountered errors!")
482483
return 1
483484

484485

0 commit comments

Comments
 (0)