mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
GP-5331: Gdb address signedness.
This commit is contained in:
parent
c8937df382
commit
7c983f7bb5
4 changed files with 38 additions and 26 deletions
|
@ -4,9 +4,9 @@
|
|||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
|
@ -63,6 +63,9 @@ public abstract class AbstractMapProposal<T, P, E extends MapEntry<T, P>>
|
|||
}
|
||||
|
||||
protected double computeLengthScore() {
|
||||
if (fromRange == null) {
|
||||
return 0;
|
||||
}
|
||||
long fLen = fromRange.getLength();
|
||||
long tLen = toRange.getLength();
|
||||
for (int bitsmatched = 64; bitsmatched > 0; bitsmatched--) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue