mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
Merge remote-tracking branch 'origin/GP-4800_ghizard_fix_AbstractProgramBasedTest_addr_method_to_use_param'
This commit is contained in:
commit
d201b939d2
1 changed files with 15 additions and 15 deletions
|
@ -5,7 +5,7 @@
|
|||
* 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
|
||||
* 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,
|
||||
|
@ -102,7 +102,7 @@ public abstract class AbstractProgramBasedTest extends AbstractGhidraHeadedInteg
|
|||
}
|
||||
|
||||
public Address addr(Program p, long offset) {
|
||||
AddressFactory addrMap = program.getAddressFactory();
|
||||
AddressFactory addrMap = p.getAddressFactory();
|
||||
AddressSpace space = addrMap.getDefaultAddressSpace();
|
||||
return space.getAddress(offset);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue