Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • F frama-c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 168
    • Issues 168
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • pub
  • frama-c
  • Issues
  • #757
Closed
Open
Issue created Jul 25, 2014 by mantis-gitlab-migration@mantis-gitlab-migration

Crash on invalid -val-split-return-function option

ID0001857: This issue was created automatically from Mantis Issue 1857. Further discussion may take place here.


Id Project Category View Due Date Updated
ID0001857 Frama-C Plug-in > Eva public 2014-07-25 2015-03-17
Reporter Anne Assigned To yakobowski Resolution fixed
Priority normal Severity minor Reproducibility have not tried
Platform - OS - OS Version -
Product Version Frama-C Neon-20140301 Target Version - Fixed in Version Frama-C Sodium

Description :

The Failure is caught when parsing the -val-split-return-function option, but not the Invalid_argument one, hence the crash.

Steps To Reproduce :

With any C file such as : int main (void) { return 0; }

$ frama-c test.c -val -val-split-return-function main:3x

[kernel] Current source was: test.c:2 The full backtrace is: Called from file "list.ml", line 55, characters 20-23 Called from file "src/value/value_parameters.ml", line 422, characters 20-48 ... Unexpected error (Invalid_argument("Z.of_string_base: invalid number")). Please report as 'crash' at http://bts.frama-c.com/. Your Frama-C version is Neon-20140301+dev.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking