ParseImports() public static method

public static ParseImports ( string executable, ILogger logger ) : List
executable string
logger ILogger
return List
Esempio n. 1
0
        public void PeParser_X86ExternallyLinkedExe_CorrentNumberOfImports()
        {
            var imports = PeParser.ParseImports(TestResources.DllTests_ReleaseX86, MockLogger.Object);

            imports.Count.Should().Be(14);
        }
Esempio n. 2
0
        public void PeParser_X86ExternallyLinkedDll_CorrentNumberOfImports()
        {
            var imports = PeParser.ParseImports(TestResources.X86ExternallyLinkedTestsDll, MockLogger.Object);

            imports.Count.Should().Be(1);
        }
        public void PeParser_X86ExternallyLinkedDll_CorrentNumberOfImports()
        {
            var imports = PeParser.ParseImports(TestResources.DllTestsDll_ReleaseX86, MockLogger.Object);

            imports.Should().HaveCount(3);
        }