Skip to content

Commit

Permalink
Removing basic_block_limit from solver since it doesn't make sense.
Browse files Browse the repository at this point in the history
  • Loading branch information
c01db33f committed Oct 4, 2018
1 parent 41e1f0f commit f32260d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions analysis/solver.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,17 +137,15 @@ bool SolveFunction(FlowGraph& rfg, InstructionProvider& ip,
template <class T>
bool SolveFunction(FlowGraph& rfg, InstructionProvider& ip,
std::map<Edge, T>& edge_states, size_t step_limit = 0x1000) {
return SolveFunction<T>(rfg, ip, edge_states, T::Merge, step_limit,
basic_block_limit);
return SolveFunction<T>(rfg, ip, edge_states, T::Merge, step_limit);
}

template <class T>
bool SolveFunction(FlowGraph& rfg, const MemoryImage& memory_image,
std::map<Edge, T>& edge_states, size_t step_limit = 0x1000) {
std::unique_ptr<InstructionProvider> ip =
InstructionProvider::Create(memory_image);
return SolveFunction<T>(rfg, *ip, edge_states, T::Merge, step_limit,
basic_block_limit);
return SolveFunction<T>(rfg, *ip, edge_states, T::Merge, step_limit);
}
} // namespace analysis
} // namespace reil
Expand Down

0 comments on commit f32260d

Please sign in to comment.