Actions
Bug #4688
closedInforequests don't work on function declarations with typedefs as arguments types.
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);
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.
Updated by Evgeny Novikov about 10 years ago
- Assignee changed from Ilya Shchepetkov to Evgeny Novikov
Updated by Evgeny Novikov almost 9 years ago
- Category set to Pointcuts matching
- Priority changed from Normal to High
Updated by Evgeny Novikov over 5 years ago
- Is duplicate of Bug #4174: Typedef irq_handler_t is't matched properly added
Updated by Evgeny Novikov over 5 years ago
- Status changed from Open to Rejected
Reject as a duplicate of #4174.
Actions