Willy Tarreau
762fb3ec8e
MINOR: tools: add new function dump_addr_and_bytes()
...
This function dumps <n> bytes from <addr> in hex form into buffer <buf>
enclosed in brackets after the address itself, formatted on 14 chars
including the "0x" prefix. This is meant to be used as a prefix for code
areas. For example: "0x7f10b6557690 [48 c7 c0 0f 00 00 00 0f]: "
It relies on may_access() to know if the bytes are dumpable, otherwise "--"
is emitted. An optional prefix is supported.
2020-03-03 17:46:37 +01:00
..
2019-05-22 19:47:57 +02:00
2010-10-30 19:04:33 +02:00
2019-08-27 17:14:19 +02:00
2020-02-26 10:39:36 +01:00
2019-01-26 13:25:14 +01:00
2020-02-14 19:02:06 +01:00
2019-05-23 08:40:50 +02:00
2020-02-25 10:34:43 +01:00
2020-02-21 16:32:57 +01:00
2019-10-24 18:38:00 +02:00
2020-01-22 14:33:17 +01:00
2019-05-22 19:47:57 +02:00
2010-08-10 14:01:15 +02:00
2019-10-04 16:12:02 +02:00
2019-09-17 10:18:54 +02:00
2019-11-25 11:34:26 +01:00
2020-01-16 08:23:42 +01:00
2020-02-26 10:39:36 +01:00
2019-04-01 07:44:56 +02:00
2019-04-01 07:44:56 +02:00
2019-04-01 07:44:56 +02:00
2019-04-01 07:44:56 +02:00
2019-04-01 07:44:56 +02:00
2020-01-08 16:15:23 +01:00
2020-02-06 14:54:47 +01:00
2019-04-10 16:33:25 +02:00
2020-02-21 11:47:25 +01:00
2019-10-29 13:09:14 +01:00
2020-02-03 13:05:31 +01:00
2020-02-11 10:27:04 +01:00
2019-05-22 19:47:57 +02:00
2020-02-25 07:30:49 +01:00
2020-02-14 16:15:00 +01:00
2019-05-07 06:58:15 +02:00
2019-05-22 19:47:57 +02:00
2020-03-03 17:46:37 +01:00
2015-10-12 20:58:51 +02:00
2006-06-29 18:54:54 +02:00
2009-03-21 10:25:14 +01:00
2020-02-25 07:41:47 +01:00
2020-01-22 15:55:55 +01:00
2019-10-10 11:30:07 +02:00
2019-11-25 20:38:32 +01:00
2019-03-11 17:02:37 +01:00