Giacomo Vercesi
6bb745ddfb
InitRevng: fix memory leak due to stack trace
...
When initializing `revng::InitRevng` it is assumed by its parent,
`InitLLVM`, that the lifetime of `Argv` and be equivalent to
static, because it might be later retrieved to print it in case of a
crash. This works with the traditional `main`, however in the pipebox
the string passed are not guaranteed to have that lifetime. This commits
moves ownership of the strings to a class that stores them to avoid this
problem.
2025-12-11 17:21:37 +01:00
..
2023-02-23 14:51:10 +01:00
2024-05-22 10:25:25 +02:00
2025-10-24 18:24:25 +02:00
2025-08-29 14:00:29 +03:00
2024-05-03 21:52:40 +02:00
2025-10-31 17:25:03 +01:00
2023-07-31 11:29:40 +02:00
2020-11-13 14:12:18 +01:00
2025-04-30 15:08:45 +02:00
2023-03-15 10:19:01 +01:00
2025-07-23 11:34:13 +02:00
2024-06-20 10:24:49 +02:00
2025-09-29 18:05:54 +03:00
2025-10-31 17:25:03 +01:00
2025-10-24 15:34:11 +02:00
2023-06-30 13:39:22 +02:00
2024-10-31 17:19:51 +01:00
2023-04-08 08:42:23 +02:00
2025-11-18 17:47:54 +01:00
2025-07-23 11:38:50 +02:00
2025-10-31 17:25:03 +01:00
2023-06-30 13:39:22 +02:00
2025-09-26 10:39:09 +02:00
2024-10-30 21:57:55 +01:00
2025-10-16 16:08:05 +02:00
2025-06-04 15:13:47 +02:00
2025-12-11 17:21:37 +01:00
2025-10-15 11:58:41 +02:00
2025-10-21 19:16:58 +03:00
2025-07-23 11:38:53 +02:00
2025-12-10 16:16:14 +01:00
2020-11-13 14:12:18 +01:00
2022-12-13 11:26:25 +01:00
2025-04-17 11:19:17 +03:00
2025-10-31 17:25:03 +01:00
2023-04-28 14:04:32 +02:00
2025-05-07 16:42:20 +02:00
2025-10-24 18:20:48 +02:00
2025-10-29 10:56:50 +01:00
2023-04-08 08:42:23 +02:00
2024-10-01 13:38:13 +02:00
2025-05-05 17:28:48 +02:00
2023-04-08 08:42:23 +02:00
2023-04-08 08:42:23 +02:00
2024-01-26 17:46:21 +01:00
2025-10-16 16:08:05 +02:00
2025-05-07 16:42:20 +02:00
2025-04-24 13:22:14 +02:00
2025-10-24 15:34:11 +02:00
2025-10-16 16:08:05 +02:00
2025-05-05 16:02:40 +02:00
2022-08-08 13:55:34 +02:00
2022-08-08 13:55:34 +02:00
2025-10-13 10:26:41 +03:00
2025-10-16 16:08:05 +02:00