Filza 27.2 worse_query: public and developer builds
This commit is contained in:
commit
91a6adf723
267 files changed
+42015
No files matched your search
+33
@@ -0,0 +1,33 @@
|
||||
#ifndef MACHO_LOAD_COMMAND_H
|
||||
#define MACHO_LOAD_COMMAND_H
|
||||
|
||||
#include <mach-o/loader.h>
|
||||
|
||||
#ifndef LC_FILESET_ENTRY
|
||||
|
||||
#define MH_FILESET 0xc
|
||||
#define LC_FILESET_ENTRY 0x80000035
|
||||
|
||||
struct fileset_entry_command {
|
||||
uint32_t cmd; /* LC_FILESET_ENTRY */
|
||||
uint32_t cmdsize; /* includes entry_id string */
|
||||
uint64_t vmaddr; /* memory address of the entry */
|
||||
uint64_t fileoff; /* file offset of the entry */
|
||||
union lc_str entry_id; /* contained entry id */
|
||||
uint32_t reserved; /* reserved */
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
#include "MachO.h"
|
||||
#include "FileStream.h"
|
||||
#include "MachOByteOrder.h"
|
||||
#include "CSBlob.h"
|
||||
|
||||
// Convert load command to load command name
|
||||
char *load_command_to_string(int loadCommand);
|
||||
void update_segment_command_64(MachO *macho, const char *segmentName, uint64_t vmaddr, uint64_t vmsize, uint64_t fileoff, uint64_t filesize);
|
||||
void update_lc_code_signature(MachO *macho, uint64_t size);
|
||||
int update_load_commands_for_coretrust_bypass(MachO *macho, CS_SuperBlob *superblob, uint64_t originalCodeSignatureSize);
|
||||
|
||||
#endif // MACHO_LOAD_COMMAND_H
|
||||
Reference in new issue
Block a user