1#include <stdio.h>
2#include <stdlib.h>
3
4int main(int argc, const char* argv[])
5{
6 int *int_ptr = (int *)malloc(size: sizeof(int));
7 *int_ptr = 7;
8 printf(format: "Hello, world!\n");
9 printf(format: "Now not crash %d\n", *int_ptr); // Not crash here.
10}
11

source code of lldb/test/API/functionalities/inferior-changed/main2.c