Project

General

Profile

Actions

Bug #1018

closed

Undefined functions should be listed in our config in CPAchecker frontend

Added by Pavel Shved about 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
CPAchecker
Start date:
04/03/2011
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:
60f0768a

Description

Vadim says that we should add our model functions that return a nondetermined int to our config in CPAchecker's frontend. I haven't checked if it's the case, but here's what Vadim says:

To work correctly we should add our rule model's nondeterministic functions ldv_undefined_int, etc to CPAchecker configuration. Right now CPAchecker assumes that they are pure, so the result may not be as we expected. (See for example topic "Re: [CPAchecker Users: 77] Unsafe program reported as safe" at cpachecker mail list)

No problem, it is implemented in revision 2360. The name of the option is "cpas.symbpredabs.nondetFunctions". The default value is "int_nondet, malloc, nondet_int, random". If you specify it, the default functions are not included if you don't specify them explicitly.


Related issues 1 (0 open1 closed)

Blocks Linux Driver Verification - Bug #716: CPAchecker is not supported in masterClosedPavel Shved01/25/2011

Actions
Actions #1

Updated by Alexey Khoroshilov almost 13 years ago

  • Priority changed from Normal to High
Actions #2

Updated by Vadim Mutilin almost 13 years ago

  • Status changed from New to Resolved
  • Published in build set to 60f0768a

Fixed in 60f0768a
The config file

dscv/rcv/cpachecker.config/cpa.cfg.pattern

now contains the nondeterministic functions
cpa.predicate.nondetFunctions = malloc, random, int_nondet, nondet_int, ldv_undefined_int, ldv_undefined_pointer, ldv_undefined_ulong

Actions #3

Updated by Evgeny Novikov almost 13 years ago

Should be closed?

Actions #4

Updated by Pavel Shved almost 13 years ago

Let's first analyze results of CPAchecker launch

Actions #5

Updated by Pavel Shved almost 13 years ago

  • Status changed from Resolved to Closed

Vadim says it doesn't appear anymore. Closing.

Actions

Also available in: Atom PDF