Input the function signature and its going to return to the console all the contracts that have that function signature in their bytecode.
Try running some of the following tasks:
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js