Advisory: Cannot tell what pointer points to, assuming global memory space
//C code(hello.c):typedef struct g_states_t ...{ int i; struct g_states_t *pnext;}g_state;typedef struct ST...{ g_states_t **cur; g_states_t *ctx[4];}ST;void setstates(ST *ps, g_states_t