ossfuzz: Remove PC from yul proto specification

This commit is contained in:
Bhargava Shastry 2020-05-27 16:59:43 +02:00
parent 894478ff8c
commit 61431d2c59
2 changed files with 17 additions and 21 deletions

View File

@ -622,9 +622,6 @@ void ProtoConverter::visit(NullaryOp const& _x)
{
switch (_x.op())
{
case NullaryOp::PC:
m_output << "pc()";
break;
case NullaryOp::MSIZE:
m_output << "msize()";
break;

View File

@ -214,24 +214,23 @@ message ExtCodeCopy {
message NullaryOp {
enum NOp {
PC = 1;
MSIZE = 2;
GAS = 3;
CALLDATASIZE = 4;
CODESIZE = 5;
RETURNDATASIZE = 6;
ADDRESS = 7;
ORIGIN = 8;
CALLER = 9;
CALLVALUE = 10;
GASPRICE = 11;
COINBASE = 12;
TIMESTAMP = 13;
NUMBER = 14;
DIFFICULTY = 15;
GASLIMIT = 16;
SELFBALANCE = 17;
CHAINID = 18;
MSIZE = 1;
GAS = 2;
CALLDATASIZE = 3;
CODESIZE = 4;
RETURNDATASIZE = 5;
ADDRESS = 6;
ORIGIN = 7;
CALLER = 8;
CALLVALUE = 9;
GASPRICE = 10;
COINBASE = 11;
TIMESTAMP = 12;
NUMBER = 13;
DIFFICULTY = 14;
GASLIMIT = 15;
SELFBALANCE = 16;
CHAINID = 17;
}
required NOp op = 1;
}