Project

General

Profile

Actions

Bug #4688

closed

Inforequests don't work on function declarations with typedefs as arguments types.

Added by Ilya Shchepetkov almost 11 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
High
Category:
Pointcuts matching
Start date:
02/04/2014
Due date:
% Done:

0%

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

Description

Inforequest

info: declare_func( void function(rq_end_io_fn *done) )

matches
void function(void (*)(struct request *, int));

and doesn't match
void function(rq_end_io_fn *));

rq_end_io_fn is typedef:
typedef void (rq_end_io_fn)(struct request *, int);


Related issues 1 (1 open0 closed)

Is duplicate of C Instrumentation Framework - Bug #4174: Typedef irq_handler_t is't matched properlyOpenEvgeny Novikov05/14/2013

Actions
Actions #1

Updated by Evgeny Novikov almost 11 years ago

There are two places in Aspectator where a GCC internal representation of a program is converted to the Aspectator one. C-backend makes it correctly, in particular for typedef names. Aspectator itself doesn't do that. So it has much sense to reuse C-backend converter, and either convert the C-backend representation to the Aspectator one or use it as is. The later may be unpleasant due to that representation is in the grammar form while the Aspectator representation is very user-friendly.

Actions #2

Updated by Evgeny Novikov about 10 years ago

  • Assignee changed from Ilya Shchepetkov to Evgeny Novikov
Actions #3

Updated by Evgeny Novikov almost 9 years ago

  • Category set to Pointcuts matching
  • Priority changed from Normal to High
Actions #4

Updated by Evgeny Novikov over 5 years ago

  • Is duplicate of Bug #4174: Typedef irq_handler_t is't matched properly added
Actions #5

Updated by Evgeny Novikov over 5 years ago

  • Status changed from Open to Rejected

Reject as a duplicate of #4174.

Actions

Also available in: Atom PDF