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.
Category:
Pointcuts matching
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 open — 0 closed)
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.
- Assignee changed from Ilya Shchepetkov to Evgeny Novikov
- Category set to Pointcuts matching
- Priority changed from Normal to High
- Is duplicate of Bug #4174: Typedef irq_handler_t is't matched properly added
- Status changed from Open to Rejected
Reject as a duplicate of #4174.
Also available in: Atom
PDF