| 1434 | } |
| 1435 | |
| 1436 | void init() |
| 1437 | { |
| 1438 | if ((shared.flags & 0x1) != 0x1) |
| 1439 | { |
| 1440 | return; |
| 1441 | } |
| 1442 | |
| 1443 | shared.flags = 3; |
| 1444 | shared.state = NULL; |
| 1445 | shared.hook = NULL; |
| 1446 | |
| 1447 | static attaching_state_type attaching_state; |
| 1448 | shared.states[0] = &attaching_state; |
| 1449 | static hanging_state_type hanging_state; |
| 1450 | shared.states[1] = &hanging_state; |
| 1451 | |
| 1452 | init_cache(); |
| 1453 | } |
| 1454 | |
| 1455 | void destroy() |
| 1456 | { |
no test coverage detected