ParseImports() public static method

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

            imports.Count.Should().Be(14);
        }
Exemplo 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);
        }