Project

General

Profile

Actions

Bug #5977

closed

Usage of imm values in constraint-driven test generation

Added by Mikhail Chupilko almost 9 years ago. Updated about 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Andrei Tatarnikov
Category:
-
Target version:
Start date:
05/22/2015
Due date:
% Done:

0%

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

Description

See the following example. The symbol "_" substitutes some immediate value that should be used to construct the situation.
Unfortunately, it is impossible to use random values in such a way now.

    100.times {
      atomic {
       # ADD instruction with biased operand values.
        add x0, x1, _, 0 do situation('AddGeneral.IntegerOverflow') end
      }
    }

Actions #1

Updated by Andrei Tatarnikov about 7 years ago

You can specify rand(min, max) or rand(distribution_range) instead of _.

Actions #2

Updated by Andrei Tatarnikov about 7 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF