mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
GP-1024 fix "Extract and Import" to not produce tmp files with bad names
Temp files were named using memory block name and string rep of the min and max address, which would cause problems if address representation contained a ":" (seg:offset) and the user was on a windows platform.
This commit is contained in:
parent
54bbbcf44b
commit
eb24c51b51
5 changed files with 52 additions and 14 deletions
|
@ -462,9 +462,9 @@ public interface Memory extends AddressSetView {
|
|||
* @param destIndex the offset into dest to place the bytes.
|
||||
* @param size the number of bytes to get.
|
||||
* @return the number of bytes put into dest. May be less than
|
||||
* size if the requested number extends beyond available memory.
|
||||
* size if the requested number extends beyond initialized / available memory.
|
||||
* @throws MemoryAccessException if the starting address is
|
||||
* not contained in any memory block.
|
||||
* not contained in any memory block or is an uninitialized location.
|
||||
*/
|
||||
public int getBytes(Address addr, byte[] dest, int destIndex, int size)
|
||||
throws MemoryAccessException;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue