Skip to content

Commit

Permalink
FDSE: refactor tool info module
Browse files Browse the repository at this point in the history
  • Loading branch information
passengerZ committed Nov 1, 2023
1 parent b9cca4e commit c7cd5d1
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions benchexec/tools/fdse.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
#
# SPDX-License-Identifier: Apache-2.0

import benchexec.result as result
import benchexec.tools.template
import benchexec.model
from benchexec.tools.sv_benchmarks_util import get_data_model_from_task, ILP32, LP64
import benchexec.result as result


class Tool(benchexec.tools.template.BaseTool2):
"""
Tool info for FDSE (https://github.com/zbchen/FDSE).
Tool info for FDSE.
https://github.com/zbchen/FDSE
"""

def executable(self, tool_locator):
Expand All @@ -32,10 +32,6 @@ def cmdline(self, executable, options, task, rlimits):
new_option += [f"--property-file={task.property_file}"]
if rlimits.cputime:
new_option += [f"-mt={rlimits.cputime}"]
data_model_param = get_data_model_from_task(task, {ILP32: "32", LP64: "64"})

if data_model_param and "--arch" not in options:
new_option += ["--arch=" + data_model_param]

new_option += [f"-sf={task.single_input_file}"]
return [executable] + new_option + options
Expand Down

0 comments on commit c7cd5d1

Please sign in to comment.