mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-26 19:33:44 +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.flags = (byte) (splitByte >> UNWIND_INFO_FLAGS_SHIFT);
|
||||
|
||||
unwindInfo.sizeOfProlog = reader.readNextByte();
|
||||
unwindInfo.countOfUnwindCodes = reader.readNextByte();
|
||||
unwindInfo.sizeOfProlog = reader.readNextUnsignedByte();
|
||||
unwindInfo.countOfUnwindCodes = reader.readNextUnsignedByte();
|
||||
|
||||
splitByte = reader.readNextByte();
|
||||
unwindInfo.frameRegister = (byte) (splitByte & UNWIND_INFO_FRAME_REGISTER_MASK);
|
||||
@@ -307,8 +307,8 @@ public class ImageRuntimeFunctionEntries {
|
||||
|
||||
byte version;
|
||||
byte flags;
|
||||
byte sizeOfProlog;
|
||||
byte countOfUnwindCodes;
|
||||
int sizeOfProlog;
|
||||
int countOfUnwindCodes;
|
||||
byte frameRegister;
|
||||
byte frameOffset;
|
||||
UNWIND_CODE[] unwindCodes;
|
||||
|
||||
+2
-1
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* 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.*;
|
||||
|
||||
@@ -26,6 +26,7 @@ import generic.test.AbstractGTest;
|
||||
import ghidra.app.util.bin.BinaryReader;
|
||||
import ghidra.app.util.bin.ByteArrayProvider;
|
||||
import ghidra.app.util.bin.format.pe.cli.CliStreamHeader;
|
||||
import ghidra.app.util.bin.format.pe.cli.streams.CliStreamStrings;
|
||||
import ghidra.util.LittleEndianDataConverter;
|
||||
|
||||
public class CliStreamStringsTest extends AbstractGTest {
|
||||
Reference in New Issue
Block a user