Skip to content

Commit f9a6ff9

Browse files
committed
access shortest path locst variable from path_symex_statet
1 parent 289ca21 commit f9a6ff9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/path-symex/path_symex_state.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,11 @@ struct path_symex_statet
208208
return depth;
209209
}
210210

211+
unsigned get_shortest_path() const
212+
{
213+
return locs.loc_vector[pc().loc_number].distance_to_property;
214+
}
215+
211216
void increase_depth()
212217
{
213218
depth++;

0 commit comments

Comments
 (0)