Project

General

Profile

Actions

Feature #3512

closed

Add ability to get information on actual macro parameter values

Added by Evgeny Novikov about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
High
Category:
-
Start date:
09/27/2012
Due date:
% Done:

0%

Estimated time:
Published in build:
44895bc

Description

New Driver Environment Generator wouldn't like to obtain information on module init and exit functions with help of regexps. Instead it would like to ask CIF for that:

info: expand(module_init(arg))
{
  $fprintf<$env<file>,$arg_val1>
}

You can see a new advice type info. It should serve as pure information request without any changes to program source code at any stages. expand primitive pointcut for macros likes call primitive pointcut for functions. It will be able to catch actual macro parameter values.


Related issues 1 (0 open1 closed)

Blocks C Instrumentation Framework - Feature #2959: We need to develop analyzer on the basis of CIF infrastructure for the new environment generatorClosedEvgeny Novikov06/06/2012

Actions
Actions #1

Updated by Evgeny Novikov about 12 years ago

  • Status changed from Open to Resolved
  • Published in build set to 44895bc

Commit 44895bc of the master branch implements the required feature in the way described. After testing commit will be available. I hope that there will not be any problems, because of launch on all drivers didn't show bad relevant regressions.

Actions #2

Updated by Evgeny Novikov about 12 years ago

  • Status changed from Resolved to Closed

Tests passed.

Actions

Also available in: Atom PDF