mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2025-01-14 04:26:01 +00:00
d6c4204027
Based on lockpick_rcm 1.9.0
11 lines
No EOL
212 B
C
11 lines
No EOL
212 B
C
#include "utils.h"
|
|
#include <string.h>
|
|
#include <mem/heap.h>
|
|
|
|
char *CpyStr(const char* in){
|
|
int len = strlen(in);
|
|
char *out = malloc(len + 1);
|
|
out[len] = 0;
|
|
memcpy(out, in, len);
|
|
return out;
|
|
} |