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
  • #1290

r13089 sliced program computes differently from original (csmith)

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


Id Project Category View Due Date Updated
ID0000808 Frama-C Plug-in > slicing public 2011-04-29 2014-02-12
Reporter pascal Assigned To Anne Resolution fixed
Priority normal Severity minor Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C GIT, precise the release id Target Version - Fixed in Version Frama-C Nitrogen-20111001

Description :

~/ppc/bin/toplevel.opt -val-signed-overflow-alarms s.29114540.2.c -cpp-command "gcc -m32 -C -E -D__FRAMAC -I. -I$CSMITH/runtime " -slice-calls Frama_C_show_each -slevel 5000 -slevel-function crc32_gentab:0 -then-on 'Slicing export' -print -ocode s.29114540.2.s.c

original compiled as 32-bit produces:

each: 1877464688 each: 923383238 each: 3118711398 each: 2770598846 each: 3750958151 each: 1873579612 each: 1348507732 each: 1348507732

sliced program produces:

each: 1877464688 each: 923383238 each: 3118711398 each: 2770598846 each: 130171288 each: 3207316278 each: 3201788839 each: 3201788839

It seems that the sliced program does not preserve the value of g_14 (see sequence of calls to transparent_crc() in main()).

Attachments

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