Esempio n. 1
0
        private static bool TestBlockResolution()
        {
            var csr = new StackResolver();
            var ret = csr.ResolveCallstacks("Return Addr: 00007FF830D4CDA4 Module(KERNELBASE+000000000009CDA4)",
                                            @"..\..\Tests\TestCases\TestBlockResolution",
                                            false,
                                            null,
                                            false,
                                            false,
                                            false,
                                            false,
                                            true);

            return(ret.Trim() == "KERNELBASE!SignalObjectAndWait+147716");
        }
Esempio n. 2
0
        private static bool TestOrdinal()
        {
            var csr      = new StackResolver();
            var dllPaths = new System.Collections.Generic.List <string>();

            dllPaths.Add(@"..\..\Tests\TestCases\TestOrdinal");

            var ret = csr.ResolveCallstacks("sqldk!Ordinal298+00000000000004A5",
                                            @"..\..\Tests\TestCases\TestOrdinal",
                                            false,
                                            dllPaths,
                                            false,
                                            false,
                                            false,
                                            false,
                                            true);

            return(ret.Trim() == "sqldk!SOS_Scheduler::SwitchContext+941");
        }