feat(MDC): experimental mdc

This commit is contained in:
junepark678
2023-11-28 19:20:51 +09:00
parent 42ecd38517
commit 0e9deea7a6
17 changed files with 2453 additions and 39 deletions

20
MacDirtyCow/helpers.h Normal file
View File

@@ -0,0 +1,20 @@
//
// helpers.h
// AltStore
//
// Created by June P on 2023/11/28.
// Copyright © 2023 SideStore. All rights reserved.
//
#ifndef helpers_h
#define helpers_h
char* get_temp_file_path(void);
void test_nsexpressions(void);
char* set_up_tmp_file(void);
void xpc_crasher(char* service_name);
#define ROUND_DOWN_PAGE(val) (val & ~(PAGE_SIZE - 1ULL))
#endif /* helpers_h */