SegmentCommand

Package: ghidra.app.util.bin.format.macho.commands
Type: class

11.4_PUBLIC

addedmethod: create
static byte[] create(int magic, java.lang.String name, long vmAddr, long vmSize, long fileOffset, long fileSize, int maxProt, int initProt, int flags) throws MachException
addedmethod: is32bit
boolean is32bit()
modifiedmethod: getNumberOfSections
return type: int → long
- int getNumberOfSections()
+ long getNumberOfSections()
removedmethod: create
static byte[] create(int magic, java.lang.String name, long vmAddr, long vmSize, long fileOffset, long fileSize, int maxProt, int initProt, int numSections, int flags) throws MachException

11.0_PUBLIC

addedmethod: create
static byte[] create(int magic, java.lang.String name, long vmAddr, long vmSize, long fileOffset, long fileSize, int maxProt, int initProt, int numSections, int flags) throws MachException
addedmethod: setSegmentName
void setSegmentName(java.lang.String name)
addedmethod: size
static int size(int magic) throws MachException

10.4_PUBLIC

addedmethod: contains
boolean contains(long addr)
addedmethod: markupRawBinary
void markupRawBinary(ghidra.app.util.bin.format.macho.MachHeader header, ghidra.program.flatapi.FlatProgramAPI api, ghidra.program.model.address.Address baseAddress, ghidra.program.model.listing.ProgramModule parentModule, ghidra.util.task.TaskMonitor monitor, ghidra.app.util.importer.MessageLog log)
addedmethod: setFileSize
void setFileSize(long fileSize)
addedmethod: setVMaddress
void setVMaddress(long vmaddr)
addedmethod: setVMsize
void setVMsize(long vmSize)
removedmethod: markup
void markup(ghidra.app.util.bin.format.macho.MachHeader header, ghidra.program.flatapi.FlatProgramAPI api, ghidra.program.model.address.Address baseAddress, boolean isBinary, ghidra.program.model.listing.ProgramModule parentModule, ghidra.util.task.TaskMonitor monitor, ghidra.app.util.importer.MessageLog log)

10.2_PUBLIC

removedmethod: createSegmentCommand
static ghidra.app.util.bin.format.macho.commands.SegmentCommand createSegmentCommand(ghidra.app.util.bin.format.FactoryBundledWithBinaryReader reader, boolean is32bit) throws IOException

10.0_PUBLIC

addedmethod: setFileOffset
void setFileOffset(long fileOffset)

9.0.1_PUBLIC

introducedInitial version