MCPcopy Create free account
hub / github.com/data61/MP-SPDZ / parse

Method parse

Processor/Program.cpp:44–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void Program::parse(string filename)
45{
46 if (OnlineOptions::singleton.has_option("throw_exceptions"))
47 parse_with_error(filename);
48 else
49 {
50 try
51 {
52 parse_with_error(filename);
53 }
54 catch(exception& e)
55 {
56 cerr << "Error in bytecode: " << e.what() << endl;
57 exit(1);
58 }
59 }
60}
61
62void Program::parse_with_error(string filename)
63{

Callers 10

MalRepRingOptionsMethod · 0.45
CowGearOptionsMethod · 0.45
HemiOptionsMethod · 0.45
ShamirOptionsMethod · 0.45
load_programMethod · 0.45
OnlineMachineMethod · 0.45
OfflineMachineMethod · 0.45
RingOptionsMethod · 0.45
OnlineOptionsMethod · 0.45
finalizeMethod · 0.45

Calls 9

bytecode_errorClass · 0.85
has_optionMethod · 0.80
eofMethod · 0.80
whatMethod · 0.45
resizeMethod · 0.45
sizeMethod · 0.45
failMethod · 0.45
strMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected