Esempio n. 1
0
        public override RelocationResults Relocate(Program program, Address addrLoad)
        {
            var entryPoints = new List <ImageSymbol>();

            if (rsrcFork != null)
            {
                rsrcFork.Dump();
                rsrcFork.AddResourcesToImageMap(addrLoad, mem, segmentMap, entryPoints);
            }
            return(new RelocationResults(entryPoints, new SortedList <Address, ImageSymbol>()));
        }
Esempio n. 2
0
        public override RelocationResults Relocate(Address addrLoad)
        {
            var entryPoints = new List <EntryPoint>();
            var relocations = new RelocationDictionary();

            if (rsrcFork != null)
            {
                rsrcFork.Dump();
                rsrcFork.AddResourcesToImageMap(addrLoad, imageMap, entryPoints);
            }
            return(new RelocationResults(entryPoints, relocations));
        }