Actions
Bug #2734
openAspectator incorrectly weaves calls to functions returning void *
Start date:
04/10/2012
Due date:
% Done:
0%
Estimated time:
Detected in build:
svn
Platform:
Published in build:
Description
Because of this reason one cannot write aspects, like:
after: call(static inline void *kzalloc(..)) { if ($res != 0) { ldv_alloc_count++; } }
Updated by Evgeny Novikov over 12 years ago
There is a working workaround for this issue:
around: execution(static inline void *kzalloc(..)) { void *res; res = $proceed; if (res != 0) { ldv_alloc_count++; } return res; }
Updated by Evgeny Novikov about 12 years ago
- Project changed from Linux Driver Verification to C Instrumentation Framework
- Category deleted (
15)
Updated by Evgeny Novikov almost 9 years ago
- Category set to Weaving
- Priority changed from Normal to High
Actions