@@ -36,33 +36,18 @@ void memory_snapshot_harness_generatort::handle_option(
36
36
{
37
37
memory_snapshot_file = require_exactly_one_value (option, values);
38
38
}
39
- else if (option == " initial-location" )
39
+ else if (option == " initial-goto- location" )
40
40
{
41
- const std::string initial_location =
42
- require_exactly_one_value (option, values);
43
-
44
- std::vector<std::string> start;
45
- split_string (initial_location, ' :' , start, true );
46
-
47
- if (
48
- start.empty () || start.front ().empty () ||
49
- (start.size () == 2 && start.back ().empty ()) || start.size () > 2 )
50
- {
51
- throw invalid_command_line_argument_exceptiont (
52
- " invalid initial location specification" , " --initial-location" );
53
- }
54
-
55
- entry_function_name = start.front ();
56
-
57
- if (start.size () == 2 )
58
- {
59
- location_number = optionalt<unsigned >(safe_string2unsigned (start.back ()));
60
- }
41
+ initial_goto_location_line = require_exactly_one_value (option, values);
61
42
}
62
43
else if (option == " havoc-variables" )
63
44
{
64
45
variables_to_havoc.insert (values.begin (), values.end ());
65
46
}
47
+ else if (option == " initial-source-location" )
48
+ {
49
+ initial_source_location_line = require_exactly_one_value (option, values);
50
+ }
66
51
else
67
52
{
68
53
throw invalid_command_line_argument_exceptiont (
0 commit comments