2 * Helper header containing common code for finit_module, init_module,
3 * and delete_module tests.
5 * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com>
6 * Copyright (c) 2016-2018 The strace developers.
9 * SPDX-License-Identifier: GPL-2.0-or-later
12 #ifndef STRACE_TESTS_INIT_DELETE_MODULE_H
13 #define STRACE_TESTS_INIT_DELETE_MODULE_H
27 print_str(unsigned int base, unsigned int len, bool escape)
32 for (i = base; i < (base + len); i++)
38 for (i = base; i < (base + len); i++)
39 printf("\\%u%u%u", (i >> 6) & 0x3, (i >> 3) & 0x7, i & 0x7);
42 #endif /* !STRACE_TESTS_INIT_DELETE_MODULE_H */