Ghidra is a software reverse engineering (SRE) framework
Merge branch 'ghidra1_PIC30_ElfImportFixes'
ghidra1305a1ddf9807
diff --cc Ghidra/Features/Base/src/main/help/help/topics/MemoryMapPlugin/Memory_Map.htmindex 4122b8f3f6,548206be92..14bc73febb--- a/Ghidra/Features/Base/src/main/help/help/topics/MemoryMapPlugin/Memory_Map.htm+++ b/Ghidra/Features/Base/src/main/help/help/topics/MemoryMapPlugin/Memory_Map.htm@@@ -45,29 -38,22 +45,29 @@@</LI><LI><A name="BitMappedType"></A><I><B>Bit Mapped</B></I> - The block provides a- bit-addressable map onto other blocks. This is useful when a processor can access some or all- of the bits in memory directly using an alternative addressing space.</LI>+ bit-addressable map onto other blocks. This is useful when a processor can indirectly access+ individual bits within memory using an alternative byte address. Such blocks have a fixed+ mapping of 8-bytes to 1-source-byte..</LI><LI><A name="ByteMappedType"></A><I><B>Byte Mapped</B></I> - The block provides a- byte-addressable map onto other blocks. This can be useful when the same bytes can be- accessed via two or more addresses.</LI>-- <LI><A name="OverlayType"></A><I><B>Overlay</B></I> - The block is created in a new- <I>overlay</I> address space. Overlay blocks can be <I>initialized</I> or- <I>unitialized</I>. Using Overlays is a way to get around the problem where the program- is too large to fit completely in the target system's memory. Overlay blocks contain- code that would get swapped in when the program needs to execute it. Note that- Overlay blocks are fixed and may not be moved, split or expanded. In addition, Overlays- do not relocate with image base changes.<BR>- </LI>+ byte-addressable map onto other blocks. This can be useful when a range of+ bytes can be accessed via an alternative address range. While the default mapping+ is 1-byte to 1-source-byte (1:1), other decimations are permitted specified using a+ mapping ratio (e.g., 2:4).</LI></OL>++ <P><IMG src="../../shared/note.png" border="0"><I>File Bytes</I> are currently only created+ by importers. At this point in time there is no capability provided by the Memory Map provider to create a+ new File Bytes instance.</P>+- <P><B>Overlay</B> - Each of the above memory block types may optionally be specified as an <I>Overlay</I> at the++ <P><A name="OverlayType"></A><B>Overlay</B> - Each of the above memory block types may optionally be specified as an <I>Overlay</I> at the+ time of creation. If this option is selected, the block is created in a new+ overlay address space. Overlay blocks can serve various+ purposes where a memory range may contain different data/code or map to different areas of memory+ at any given point in time or processor state. Note that+ overlay blocks are fixed and may not be moved, split, merged or expanded. In addition, Overlays+ do not relocate with image base changes and have significant limitations in conjunction with+ decompilation and analysis.</P><P>To view the <I>Memory Map</I>, select <B>Window<IMG src="../../shared/arrow.gif" border="0">Memory Map</B> from the main tool menu, or click on the <IMG src="images/memory16.gif"diff --cc Ghidra/Processors/PIC/data/languages/PIC24.pspecindex 2a65a73d52,8ab645815e..e08697bfc1--- a/Ghidra/Processors/PIC/data/languages/PIC24.pspec+++ b/Ghidra/Processors/PIC/data/languages/PIC24.pspec@@@ -3,8 -3,8 +3,8 @@@<processor_spec><properties><property key="assemblyRating:dsPIC30F:LE:24:default" value="POOR"/>- <property key="assemblyMessage:dsPIC30F:LE:24:default"- value="The language tested with a rating of POOR; however, the failures all deal with extraneous instructions. The assembler may offer you several options. At least one of them will be correct, but others may be erroneous."/>- <property key="assemblyMessage:dsPICdsPIC30F:LE:24:default" value="The language tested with a rating of POOR; however, the failures all deal with extraneous instructions. The assembler may offer you several options. At least one of them will be correct, but others may be erroneous."/>++ <property key="assemblyMessage:dsPIC30F:LE:24:default" value="The language tested with a rating of POOR; however, the failures all deal with extraneous instructions. The assembler may offer you several options. At least one of them will be correct, but others may be erroneous."/>+ <property key="minimumDataImageBase" value="0x1000" /></properties><programcounter register="PC"/><data_space space="ram"/>