Comments (2)
Well, it's VirtualQueryEx that is taking time... So, what to be blamed is the kernel, and Windows 10 1809 seems to have fixed this.
Repro : https://gist.github.com/asmichi/1d86d5ca08a0ad6c36d1c0496bf9807c
Performing VirtualQueryEx
on cmd.exe on Win10 Pro 1803 (Build 17134.376):
VirtualQueryEx time
BaseAddress, RegionSize,State,Type : time / call
(snip)
00000153EC561000, 7ca1d9a7f000, 10, 0 : 0.4860 us / call
00007DF5C5FE0000, 2b000, 1, 4 : 2.1440 us / call
00007DF5C600B000, 5000, 10, 0 : 0.4740 us / call
00007DF5C6010000, 16f6000, 2, 4 : 21560.0600 us / call <- taking 21.6 ms / call !!!
00007DF5C7706000, 160000, 1, 4 : 2718.5530 us / call
00007DF5C7866000, 588000, 2, 4 : 10860.6580 us / call
00007DF5C7DEE000, 4000, 1, 4 : 53.5260 us / call
00007DF5C7DF2000, 1ffd9df5000, 2, 4 : 4191.0580 us / call
00007FF5A1BE7000, 3000, 1, 4 : 1.0450 us / call
00007FF5A1BEA000, 13808000, 2, 4 : 177.2590 us / call
00007FF5B53F2000, 1bf1000, 1, 4 : 1745.4760 us / call
00007FF5B6FE3000, 8000, 1, 4 : 1.4890 us / call
00007FF5B6FEB000, f025000, 2, 4 : 448.1360 us / call
00007FF5C6010000, 1295d0000, 10, 0 : 0.4800 us / call
from detours.
Closing because this is an issue in the kernel. Feel free to reopen it if some workaround is required.
from detours.
Related Issues (20)
- Unexpected Behavior: DLL loading error when recursively calling a mix of 32-bit and 64-bit subprocesses
- Using Detours if either the .exe or the .dll is within a directory with unicode characters? HOT 12
- Hook on return
- This repo is missing important files HOT 6
- NMAKE failing at the end. HOT 4
- NMAKE failed HOT 1
- Windows 11 ARM64 Processor x86, x64 COM API Hook Crash.
- `detour_skip_jmp` for x64 doesn't support `rex.w` prefix
- Wiki is missing sample tracessl
- `detour_skip_jmp` for arm64 doesn't support unconditional branch HOT 1
- `detour_sign_extend` is implemented incorrectly
- Noting the Optimizations greatly influence the result
- return value of 'main()'
- Calling DetourCreateProcessWithDllsW crashes .NET applications compiled for Any-CPU
- Hook unexported functions HOT 5
- Hooking inline function
- Incorrect Behaviour: Arm64 CopyLdrLiteral for non-SIMD inlines Pointer Read
- Incorrect Behaviour: Arm64 CopyLdrLiteral rewrites Prefetch as Memory Read, which can Trash a Potentially Used Register
- <BUG>crash on jmp addr? HOT 1
- contains invalid OMF record, type 0x21 (possibly COFF) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from detours.