Skip to content

Support .f command files - #1961

Draft
kroening wants to merge 2 commits into
mainfrom
kroening/command-file-support
Draft

Support .f command files#1961
kroening wants to merge 2 commits into
mainfrom
kroening/command-file-support

Conversation

@kroening

@kroening kroening commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds -f option to ebmc and vlindex to read source file names and options from a command file (.f file), as is standard in EDA tools.
  • File paths in the command file are resolved relative to the command file's directory.
  • Blank lines and // comments are ignored.
  • Implementation is in a shared command_file.h/.cpp in src/ebmc/, used by both ebmc and vlindex.

Closes #1337

Test plan

  • Regression test added (regression/ebmc/command-file/)
  • Verified ebmc works with -f files.f
  • Verified vlindex works with -f files.f
  • Both binaries build cleanly with -Werror

@kroening kroening changed the title Support reading source files from .f command files Support .f command files Jul 2, 2026
@kroening
kroening force-pushed the kroening/command-file-support branch from ca7dd4d to 2e82fc0 Compare July 2, 2026 17:47
@kroening
kroening marked this pull request as draft July 2, 2026 17:49
@kroening
kroening force-pushed the kroening/command-file-support branch from 2e82fc0 to 2de0584 Compare July 3, 2026 23:46
@kroening
kroening force-pushed the kroening/command-file-support branch 2 times, most recently from 4487df6 to a1575c1 Compare July 24, 2026 06:59
This bumps to the top of the develop branch.
Add -f option to ebmc and vlindex to read source file names and options
from a command file, as is common in EDA tools. Each line is treated as
a command line option.  Blank lines and // comments are ignored.

Resolves #1337
@kroening
kroening force-pushed the kroening/command-file-support branch from a1575c1 to 5dd5283 Compare August 11, 2026 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support reading multiple files from a single .f file

1 participant