Project

General

Profile

Actions

Feature #1633

open

KB: library function to check if assertion failed in a function given

Added by Alexey Khoroshilov almost 13 years ago. Updated over 11 years ago.

Status:
Open
Priority:
High
Category:
Statistics server
Start date:
08/11/2011
Due date:
% Done:

0%

Estimated time:
Published in build:

Description

It looks like the most useful library function for KB scripts is a function that checks if the assertion failed is within the given function (with arbitrary nesting level).


Related issues 2 (0 open2 closed)

Blocked by Linux Driver Verification - Feature #1702: Extract error trace parser from error-trace-visualizerClosedEvgeny Novikov08/29/2011

Actions
Blocked by Linux Driver Verification - Feature #1703: Think about error trace traversing libraryClosedEvgeny Novikov08/29/2011

Actions
Actions #1

Updated by Evgeny Novikov almost 13 years ago

  • Category set to Statistics server
  • Status changed from New to Open
  • Assignee set to Evgeny Novikov

If so, it should be done. But before it it seems to me that we should integrate KB scripts with error trace parser of error-trace-visualizer that creates internal, independent on verifier representation of an error trace. Also we should think a bit about this library organization.

Actions #2

Updated by Pavel Shved almost 13 years ago

  • Priority changed from High to Normal
Actions #3

Updated by Alexey Khoroshilov almost 13 years ago

  • Priority changed from Normal to High
Actions #4

Updated by Evgeny Novikov over 11 years ago

Now default criterion used for error traces comparison is "call stacks":

return 1 if (call_stacks_ne($et, $kb_et));

It obtains two arrays of function names leading to ldv_error on the basis of two error traces and compares them.

In these terms this feature request asks for ability to specify an user's partial call stack (instead of call stack extracting from a stored error trace) to be used in comparison with a call stack of a new error trace. I guess following notation:

my $call_stack = ["..", "func1", "func2", "..", "func3", ".."];
return 1 if (call_stacks_ne($et, $call_stack));

What do you think?

Actions #5

Updated by Alexey Khoroshilov over 11 years ago

Looks fine for me.

Actions

Also available in: Atom PDF