Skip to content

Commit 2194b31

Browse files
author
Owen Jones
committed
Clean up formatting of java code
1 parent 5ec389d commit 2194b31

File tree

2 files changed

+32
-29
lines changed

2 files changed

+32
-29
lines changed

src/java_bytecode/java_entry_point.cpp

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Author: Daniel Kroening, [email protected]
3838
3939
Function: create_initialize
4040
41-
Inputs:
41+
Inputs:
4242
4343
Outputs:
4444
@@ -90,7 +90,7 @@ static bool should_init_symbol(const symbolt &sym)
9090
9191
Function: java_static_lifetime_init
9292
93-
Inputs:
93+
Inputs:
9494
9595
Outputs:
9696
@@ -182,7 +182,7 @@ bool java_static_lifetime_init(
182182
183183
Function: java_build_arguments
184184
185-
Inputs:
185+
Inputs:
186186
187187
Outputs:
188188
@@ -261,7 +261,7 @@ exprt::operandst java_build_arguments(
261261
262262
Function: java_record_outputs
263263
264-
Inputs:
264+
Inputs:
265265
266266
Outputs:
267267
@@ -520,10 +520,13 @@ main_function_resultt get_main_symbol(
520520
521521
Function: java_entry_point
522522
523-
Inputs: symbol_table
524-
main class
525-
message_handler
526-
allow pointers in initialization code to be null
523+
Inputs:
524+
symbol_table
525+
main class
526+
message_handler
527+
assume_init_pointers_not_null - allow pointers in initialization code to be
528+
null
529+
max_nondet_array_length
527530
528531
Outputs: true if error occurred on entry point search
529532

src/java_bytecode/java_object_factory.cpp

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ class java_object_factoryt:public messaget
4242
size_t _max_nondet_array_length,
4343
symbol_tablet &_symbol_table,
4444
message_handlert &_message_handler):
45-
init_code(_init_code),
46-
assume_non_null(_assume_non_null),
47-
max_nondet_array_length(_max_nondet_array_length),
48-
symbol_table(_symbol_table),
49-
message_handler(_message_handler),
50-
ns(_symbol_table)
51-
{}
45+
init_code(_init_code),
46+
assume_non_null(_assume_non_null),
47+
max_nondet_array_length(_max_nondet_array_length),
48+
symbol_table(_symbol_table),
49+
message_handler(_message_handler),
50+
ns(_symbol_table)
51+
{}
5252

5353
exprt allocate_object(
5454
const exprt &,
@@ -72,7 +72,7 @@ class java_object_factoryt:public messaget
7272
7373
Function: java_object_factoryt::allocate_object
7474
75-
Inputs:
75+
Inputs:
7676
7777
Outputs:
7878
@@ -152,17 +152,17 @@ exprt java_object_factoryt::allocate_object(
152152
153153
Function: java_object_factoryt::gen_nondet_init
154154
155-
Inputs:
156-
expr -
157-
is_sub -
158-
class_identifier -
159-
loc -
160-
create_dynamic_objects -
161-
override - Ignore the LHS' real type. Used at the moment for
162-
reference arrays, which are implemented as void*
163-
arrays but should be init'd as their true type with
164-
appropriate casts.
165-
override_type - Type to use if ignoring the LHS' real type
155+
Inputs:
156+
expr -
157+
is_sub -
158+
class_identifier -
159+
loc -
160+
create_dynamic_objects -
161+
override - Ignore the LHS' real type. Used at the moment for
162+
reference arrays, which are implemented as void*
163+
arrays but should be init'd as their true type with
164+
appropriate casts.
165+
override_type - Type to use if ignoring the LHS' real type
166166
167167
Outputs:
168168
@@ -340,7 +340,7 @@ void java_object_factoryt::gen_nondet_init(
340340
341341
Function: java_object_factoryt::gen_nondet_array_init
342342
343-
Inputs:
343+
Inputs:
344344
345345
Outputs:
346346
@@ -519,7 +519,7 @@ exprt get_nondet_bool(const typet &type)
519519
520520
Function: object_factory
521521
522-
Inputs:
522+
Inputs:
523523
524524
Outputs:
525525

0 commit comments

Comments
 (0)