BSHunter-BTCD is the modified Bitcoin client (BTCD) in BSHunter.
This is an anonymous repository for ICSE 2023 Response, in order to show our script extraction in transactions and defect tracing in Bitcoin VM. We will add more details in the future.
As for the other source codes of benchmark, please refer to UnsafeBTC.com.
Go 1.14 or newer.
$ ./build.sh
$ # Sync the Bitcoin blockchain
$ ./btcd --tx-index
$ # Select the features by changing the "Run()" in bshunter.go
$ # Extract the scripts
$ ./btcd --bshunter --tx-index