Example #1
0
        public void removeBlocks(BBC bbc)
        {
            List <string> modules = bbc.getModules();

            foreach (string module in modules)
            {
                List <uint> rvas = bbc.getRVAs(module);
                foreach (uint rva in rvas)
                {
                    removeBlock(module, rva);
                }
            }
        }
Example #2
0
        public void commons(BBC other)
        {
            List <string> modules = getModules();

            foreach (string module in modules)
            {
                List <UInt32> rvas = getRVAs(module);
                foreach (UInt32 rva in rvas)
                {
                    if (!other.contains(module, rva))
                    {
                        removeBlock(module, rva);
                    }
                }
            }
        }