Daniel T. Lee
0979ff7992
selftests/bpf: ksym_search won't check symbols exists
...
Currently, ksym_search located at trace_helpers won't check symbols are
existing or not.
In ksym_search, when symbol is not found, it will return &syms[0](_stext).
But when the kernel symbols are not loaded, it will return NULL, which is
not a desired action.
This commit will add verification logic whether symbols are loaded prior
to the symbol search.
Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com >
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net >
2019-04-04 16:43:46 +02:00
..
2017-05-03 09:51:25 -04:00
2017-11-02 11:10:55 +01:00
2019-04-04 01:27:38 +02:00
2019-04-04 01:27:38 +02:00
2019-04-04 01:27:38 +02:00
2019-03-21 18:59:11 -07:00
2017-11-02 11:10:55 +01:00
2019-03-21 18:59:11 -07:00
2018-05-14 19:11:45 -07:00
2018-02-26 20:11:23 -08:00
2019-02-16 22:56:34 -08:00
2019-01-07 13:15:55 -08:00
2018-07-15 00:08:41 +02:00
2019-03-22 13:52:44 -07:00
2019-04-02 23:17:18 +02:00
2019-01-29 01:08:29 +01:00
2018-06-08 00:10:07 +02:00
2019-04-02 23:17:18 +02:00
2018-10-01 16:18:33 +02:00
2019-02-04 21:29:27 +01:00
2019-02-04 21:29:27 +01:00
2018-11-30 21:38:48 -08:00
2019-04-01 15:41:05 +02:00
2019-01-07 13:15:55 -08:00
2019-01-07 13:15:55 -08:00
2019-01-29 00:09:26 +01:00
2018-11-10 15:56:10 -08:00
2017-04-01 12:45:57 -07:00
2018-06-22 00:30:02 +02:00
2019-03-01 00:53:45 +01:00
2018-11-07 22:20:56 +01:00
2018-12-09 14:37:18 -08:00
2018-12-09 14:37:18 -08:00
2019-02-22 16:17:53 +01:00
2018-02-26 20:11:23 -08:00
2019-03-07 10:41:40 +01:00
2018-08-03 10:19:33 +02:00
2019-02-06 15:48:43 +01:00
2019-01-07 13:15:55 -08:00
2019-02-06 15:35:42 +01:00
2019-04-04 01:27:38 +02:00
2019-04-04 01:27:38 +02:00
2018-10-19 13:24:31 -07:00
2018-09-27 21:14:59 +02:00
2018-08-11 01:58:46 +02:00
2018-08-11 01:58:46 +02:00
2019-01-07 13:15:55 -08:00
2018-10-31 23:05:30 +01:00
2019-01-07 13:15:55 -08:00
2018-10-31 23:05:30 +01:00
2019-03-13 12:04:35 -07:00
2019-02-07 18:22:31 -08:00
2019-01-23 12:27:04 +01:00
2018-11-28 22:07:57 +01:00
2019-01-29 00:09:26 +01:00
2018-02-26 20:11:23 -08:00
2019-03-22 18:16:44 -07:00
2019-03-25 15:01:54 +01:00
2019-03-21 18:59:11 -07:00
2019-03-21 18:59:11 -07:00
2019-01-07 13:15:55 -08:00
2018-07-15 00:08:41 +02:00
2019-01-23 12:56:30 +01:00
2018-11-09 09:40:17 +01:00
2018-06-15 03:31:52 +02:00
2018-02-26 20:11:23 -08:00
2019-04-04 01:27:38 +02:00
2018-02-06 11:34:42 +01:00
2018-02-06 11:34:42 +01:00
2018-10-09 21:59:09 -07:00
2019-04-04 16:43:46 +02:00
2018-06-27 11:01:03 +02:00
2019-03-21 19:37:30 -07:00
2018-09-14 12:04:33 -07:00
2018-09-14 12:04:33 -07:00