mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
GT-3148: Corrected conversion of BigInteger to byte array to remove
array out of bounds exception in PowerPC vectorPermute pcodeop
This commit is contained in:
parent
d9da0f0b66
commit
fccabd9950
2 changed files with 43 additions and 42 deletions
|
@ -15,8 +15,7 @@
|
|||
*/
|
||||
package ghidra.util;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.fail;
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
|
@ -284,7 +283,7 @@ public class NumericUtilitiesTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testGetUnsigndeAlignedValue() {
|
||||
public void testGetUnsignedAlignedValue() {
|
||||
|
||||
assertEquals(0, NumericUtilities.getUnsignedAlignedValue(0xffffffffffffffffL, 8));
|
||||
assertEquals(0xfffffffffffffff8L,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue