1 // TODO: now that have the assign/affect iso, can perhaps
2 // deal with the cast pb
11 // and then make another rule for the remaining case
14 @ alloc disable plus_comm @
64 // if don't have the iso sizeof(T) => sizeof(E)
65 // dev = alloc_netdev(sizeof(*x), ...)
67 //>>> - alloc_irlandev
68 // but dont pass the sizeof, so cant get the type T.
74 struct net_device *dev;
82 //struct net_device dev;
89 // TODO wrong !!! can have ((T) a)->field, on peut pas remover le cast!
90 @ rule1 depends on alloc && !danger @
91 struct net_device *dev;
99 // the iso drop_cast is not enough because T* in the previous rule
100 // can not be dropped. It's not a pure T.
101 @ rule2 depends on alloc && !danger @
102 struct net_device *dev;