MCPcopy Create free account
hub / github.com/clienthax/Ps3GhidraScripts / applyStruct

Method applyStruct

ghidra_scripts/Ps3ElfUtils.java:140–144  ·  view source on GitHub ↗
(StructureDataType struct, Address address)

Source from the content-addressed store, hash-verified

138 }
139
140 public void applyStruct(StructureDataType struct, Address address) throws Exception {
141 script.clearListing(address, address.add(struct.getLength()-1));
142 script.createData(address, struct);
143 script.createLabel(address, struct.getName(), true);
144 }
145
146 public void applyStructArray(StructureDataType struct, int amount, Address address) throws Exception {
147 script.clearListing(address, address.add(((long) struct.getLength() *amount)-1));

Callers 2

applyProcessInfoMethod · 0.80
createModuleInfoMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected