mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-02 18:26:53 +08:00
Merge remote-tracking branch 'origin/GP-796_jmlagor_Fix_broken_tests_from_729'
This commit is contained in:
+4
-4
@@ -155,8 +155,8 @@ public class ImageRuntimeFunctionEntries {
|
|||||||
unwindInfo.version = (byte) (splitByte & UNWIND_INFO_VERSION_BITMASK);
|
unwindInfo.version = (byte) (splitByte & UNWIND_INFO_VERSION_BITMASK);
|
||||||
unwindInfo.flags = (byte) (splitByte >> UNWIND_INFO_FLAGS_SHIFT);
|
unwindInfo.flags = (byte) (splitByte >> UNWIND_INFO_FLAGS_SHIFT);
|
||||||
|
|
||||||
unwindInfo.sizeOfProlog = reader.readNextByte();
|
unwindInfo.sizeOfProlog = reader.readNextUnsignedByte();
|
||||||
unwindInfo.countOfUnwindCodes = reader.readNextByte();
|
unwindInfo.countOfUnwindCodes = reader.readNextUnsignedByte();
|
||||||
|
|
||||||
splitByte = reader.readNextByte();
|
splitByte = reader.readNextByte();
|
||||||
unwindInfo.frameRegister = (byte) (splitByte & UNWIND_INFO_FRAME_REGISTER_MASK);
|
unwindInfo.frameRegister = (byte) (splitByte & UNWIND_INFO_FRAME_REGISTER_MASK);
|
||||||
@@ -307,8 +307,8 @@ public class ImageRuntimeFunctionEntries {
|
|||||||
|
|
||||||
byte version;
|
byte version;
|
||||||
byte flags;
|
byte flags;
|
||||||
byte sizeOfProlog;
|
int sizeOfProlog;
|
||||||
byte countOfUnwindCodes;
|
int countOfUnwindCodes;
|
||||||
byte frameRegister;
|
byte frameRegister;
|
||||||
byte frameOffset;
|
byte frameOffset;
|
||||||
UNWIND_CODE[] unwindCodes;
|
UNWIND_CODE[] unwindCodes;
|
||||||
|
|||||||
+2
-1
@@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package ghidra.app.util.bin.format.pe.cli.streams;
|
package ghidra.app.util.bin.format.cli.streams;
|
||||||
|
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
@@ -26,6 +26,7 @@ import generic.test.AbstractGTest;
|
|||||||
import ghidra.app.util.bin.BinaryReader;
|
import ghidra.app.util.bin.BinaryReader;
|
||||||
import ghidra.app.util.bin.ByteArrayProvider;
|
import ghidra.app.util.bin.ByteArrayProvider;
|
||||||
import ghidra.app.util.bin.format.pe.cli.CliStreamHeader;
|
import ghidra.app.util.bin.format.pe.cli.CliStreamHeader;
|
||||||
|
import ghidra.app.util.bin.format.pe.cli.streams.CliStreamStrings;
|
||||||
import ghidra.util.LittleEndianDataConverter;
|
import ghidra.util.LittleEndianDataConverter;
|
||||||
|
|
||||||
public class CliStreamStringsTest extends AbstractGTest {
|
public class CliStreamStringsTest extends AbstractGTest {
|
||||||
Reference in New Issue
Block a user