Click here to Skip to main content
15,867,453 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
GeneralRe: New here. Laptop ? Pin
龙唐29-May-18 22:52
龙唐29-May-18 22:52 
GeneralRe: New here. Laptop ? Pin
Member 1351559811-Nov-17 3:58
Member 1351559811-Nov-17 3:58 
GeneralRe: New here. Laptop ? Pin
PhillipsLyons25-Feb-18 19:24
PhillipsLyons25-Feb-18 19:24 
GeneralRe: New here. Laptop ? Pin
Nelek25-Feb-18 19:28
protectorNelek25-Feb-18 19:28 
QuestionDevice Driver Feasibility Pin
Richard Andrew x6422-Jul-17 13:24
professionalRichard Andrew x6422-Jul-17 13:24 
AnswerRe: Device Driver Feasibility Pin
Randor 13-Aug-17 3:21
professional Randor 13-Aug-17 3:21 
GeneralRe: Device Driver Feasibility Pin
Richard Andrew x6413-Aug-17 9:01
professionalRichard Andrew x6413-Aug-17 9:01 
GeneralRe: Device Driver Feasibility Pin
Randor 14-Aug-17 1:53
professional Randor 14-Aug-17 1:53 
Hi,

Richard Andrew x64 wrote:
I would like to create an API hooking DLL that logs and documents the API calls that a given process makes. (It's my million-dollar product idea)


Hooking? Are you sure that you actually have a solid plan for what you want to do? What are you defining as 'API calls'? Are you referring to a specific Microsoft API?

Sounds like you want to perform instrumentation[^]? Are you looking to implement something like Intel VTune[^]?

If so check out DynamoRIO [^].

Richard Andrew x64 wrote:
Let me point out that all of the user mode ways of doing this are not acceptable because I need the DLL to be injected before any user code executes in the target process, including TLS callbacks.


Have you experimented with the CreateProcess function[^] and the DEBUG_PROCESS and DEBUG_ONLY_THIS_PROCESS flags combined with CREATE_SUSPENDED? This should give you access to the process before anything as executed including TLS callbacks.

Is there a specific reason why you believe that you need to use a device driver? Are you trying to avoid the TLS callbacks and process initialization for a single process or system-wide?

From usermode you can use the Application Compatibility Toolkit[^] to load a DLL into any process system-wide immediately after kernel32/user32 is loaded and before any usermode code has executed.

On Windows 10 you can get the AppCompat toolkit as part of the Windows Assessment and Deployment Kit[^].


Best Wishes,
-David Delaune
GeneralRe: Device Driver Feasibility Pin
Richard Andrew x6414-Aug-17 12:36
professionalRichard Andrew x6414-Aug-17 12:36 
GeneralRe: Device Driver Feasibility Pin
Randor 15-Aug-17 7:27
professional Randor 15-Aug-17 7:27 
GeneralRe: Device Driver Feasibility Pin
Richard Andrew x6425-Aug-17 9:55
professionalRichard Andrew x6425-Aug-17 9:55 
GeneralRe: Device Driver Feasibility Pin
Randor 30-Aug-17 17:50
professional Randor 30-Aug-17 17:50 
AnswerRe: Very low temperature (-25C) on ds18b20 precision Pin
Richard MacCutchan18-Jul-17 23:25
mveRichard MacCutchan18-Jul-17 23:25 
GeneralRe: Very low temperature (-25C) on ds18b20 precision Pin
Richard Deeming19-Jul-17 7:26
mveRichard Deeming19-Jul-17 7:26 
GeneralRe: Very low temperature (-25C) on ds18b20 precision Pin
Richard MacCutchan19-Jul-17 7:40
mveRichard MacCutchan19-Jul-17 7:40 
GeneralRe: Very low temperature (-25C) on ds18b20 precision Pin
Richard Deeming19-Jul-17 7:44
mveRichard Deeming19-Jul-17 7:44 
QuestionHard drive making noise Pin
keptop317-Jul-17 19:20
keptop317-Jul-17 19:20 
AnswerRe: Hard drive making noise Pin
Jochen Arndt18-Jul-17 23:13
professionalJochen Arndt18-Jul-17 23:13 
AnswerRe: Hard drive making noise Pin
Member 1353404121-Nov-17 10:13
Member 1353404121-Nov-17 10:13 
AnswerRe: I have three DS18B20's. I can't tell if any of them are working correctly Pin
Gerry Schmitz21-Jun-17 3:30
mveGerry Schmitz21-Jun-17 3:30 
AnswerRe: NE555n timer or NE555p timer? Pin
Richard MacCutchan18-Jun-17 22:51
mveRichard MacCutchan18-Jun-17 22:51 
QuestionAmplifier and Speaker Pin
schmähdandler15-Jun-17 13:39
schmähdandler15-Jun-17 13:39 
AnswerRe: Amplifier and Speaker Pin
Wendelius15-Jun-17 18:06
mentorWendelius15-Jun-17 18:06 
AnswerRe: Amplifier and Speaker Pin
Jochen Arndt20-Jun-17 23:58
professionalJochen Arndt20-Jun-17 23:58 
AnswerRe: Questions about ATtiny85 Pin
Gerry Schmitz7-Jun-17 3:32
mveGerry Schmitz7-Jun-17 3:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.