diff --git a/Ghidra/Features/Base/src/main/help/help/topics/DataTypeManagerPlugin/data_type_manager_window.html b/Ghidra/Features/Base/src/main/help/help/topics/DataTypeManagerPlugin/data_type_manager_window.html index 6c57b766da..ec86c30414 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/DataTypeManagerPlugin/data_type_manager_window.html +++ b/Ghidra/Features/Base/src/main/help/help/topics/DataTypeManagerPlugin/data_type_manager_window.html @@ -628,12 +628,15 @@ Types
-diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/function/ApplyFunctionDataTypesCmd.java b/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/function/ApplyFunctionDataTypesCmd.java index c6d5b54420..12d02d0266 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/function/ApplyFunctionDataTypesCmd.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/function/ApplyFunctionDataTypesCmd.java @@ -21,12 +21,14 @@ import ghidra.app.cmd.disassemble.DisassembleCommand; import ghidra.app.util.PseudoDisassembler; import ghidra.framework.cmd.BackgroundCommand; import ghidra.framework.model.DomainObject; -import ghidra.program.model.address.*; +import ghidra.program.model.address.Address; +import ghidra.program.model.address.AddressSetView; import ghidra.program.model.data.*; import ghidra.program.model.listing.*; import ghidra.program.model.mem.MemoryBlock; import ghidra.program.model.symbol.*; import ghidra.util.Msg; +import ghidra.util.exception.CancelledException; import ghidra.util.task.TaskMonitor; /** @@ -37,12 +39,11 @@ import ghidra.util.task.TaskMonitor; public class ApplyFunctionDataTypesCmd extends BackgroundCommand { private Program program; private BookmarkManager bookmarkMgr; - private ListYou can apply all function signature data types from an archive to the currently - open Program. Function signature definitions can also be applied from the currently - open program's defined data types. Applying data types from the program is useful when +
You can apply all function definition data types from an archive or selected category to the currently + open Program. This can be done from the Data Type Manager tree + by selecting the Apply Function Data Types popup action + for a selected Archive or Category node. + Function definitions can also be applied from the currently open program's defined data types. + Applying data types from the program is useful when source header files have been parsed into the program instead of an archive. This - action attempts to match the function definition with user defined symbol names in the - Program. When a match is found, the Apply All action does one of the + action attempts to match the function definition with symbol names in the + Program. When a match is found, the Apply Function Data Types action does one of the following:
@@ -667,8 +670,8 @@ within the selection will have their signatures captured. -
Once you have captured the function data types to an archive, you can use the Apply Function Data Types to apply the function definition data +
Once you have captured the function definitions to an archive, you can use the Apply Function Data Types action to apply the function definition data types to another program.