2020-11-09 18:39:34 +00:00
|
|
|
#pragma once
|
2021-07-04 20:47:09 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2020-11-09 18:39:34 +00:00
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
/************************
|
|
|
|
*** Team Kitty, 2020 ***
|
|
|
|
*** Chroma ***
|
|
|
|
***********************/
|
|
|
|
|
|
|
|
typedef struct stackframe {
|
|
|
|
struct stackframe* rbp;
|
|
|
|
size_t rip;
|
|
|
|
} stackframe_t;
|
|
|
|
|
2021-07-04 20:47:09 +00:00
|
|
|
void StackTrace(size_t cycles);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|