forked from ethereum/solidity
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ethereum#15505 from ethereum/protect_load_generate…
…d_ir Compiler stack: Protect loadGeneratedIR from contracts that cannot be deployed
- Loading branch information
Showing
12 changed files
with
242 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
test/cmdlineTests/standard_undeployable_contract_all_outputs/in.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// SPDX-License-Identifier: GPL-3.0 | ||
pragma solidity *; | ||
|
||
abstract contract C {} | ||
interface I {} |
13 changes: 13 additions & 0 deletions
13
test/cmdlineTests/standard_undeployable_contract_all_outputs/input.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"language": "Solidity", | ||
"sources": { | ||
"C": {"urls": ["standard_undeployable_contract_all_outputs/in.sol"]} | ||
}, | ||
"settings": { | ||
"outputSelection": { | ||
"*": { | ||
"*": ["*", "ir", "irAst", "irOptimized", "irOptimizedAst"] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.