Click here to Skip to main content
15,845,829 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
GeneralRe: New here. Laptop ? Pin
龙唐29-May-18 23:52
龙唐29-May-18 23:52 
GeneralRe: New here. Laptop ? Pin
Member 1351559811-Nov-17 4:58
Member 1351559811-Nov-17 4:58 
GeneralRe: New here. Laptop ? Pin
PhillipsLyons25-Feb-18 20:24
PhillipsLyons25-Feb-18 20:24 
GeneralRe: New here. Laptop ? Pin
Nelek25-Feb-18 20:28
protectorNelek25-Feb-18 20:28 
QuestionDevice Driver Feasibility Pin
Richard Andrew x6422-Jul-17 14:24
professionalRichard Andrew x6422-Jul-17 14:24 
AnswerRe: Device Driver Feasibility Pin
Randor 13-Aug-17 4:21
professional Randor 13-Aug-17 4:21 
GeneralRe: Device Driver Feasibility Pin
Richard Andrew x6413-Aug-17 10:01
professionalRichard Andrew x6413-Aug-17 10:01 
GeneralRe: Device Driver Feasibility Pin
Randor 14-Aug-17 2:53
professional Randor 14-Aug-17 2: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 13:36
professionalRichard Andrew x6414-Aug-17 13:36 
GeneralRe: Device Driver Feasibility Pin
Randor 15-Aug-17 8:27
professional Randor 15-Aug-17 8:27 
GeneralRe: Device Driver Feasibility Pin
Richard Andrew x6425-Aug-17 10:55
professionalRichard Andrew x6425-Aug-17 10:55 
GeneralRe: Device Driver Feasibility Pin
Randor 30-Aug-17 18:50
professional Randor 30-Aug-17 18:50 
AnswerRe: Very low temperature (-25C) on ds18b20 precision Pin
Richard MacCutchan19-Jul-17 0:25
mveRichard MacCutchan19-Jul-17 0:25 
GeneralRe: Very low temperature (-25C) on ds18b20 precision Pin
Richard Deeming19-Jul-17 8:26
mveRichard Deeming19-Jul-17 8:26 
GeneralRe: Very low temperature (-25C) on ds18b20 precision Pin
Richard MacCutchan19-Jul-17 8:40
mveRichard MacCutchan19-Jul-17 8:40 
GeneralRe: Very low temperature (-25C) on ds18b20 precision Pin
Richard Deeming19-Jul-17 8:44
mveRichard Deeming19-Jul-17 8:44 
QuestionHard drive making noise Pin
keptop317-Jul-17 20:20
keptop317-Jul-17 20:20 
AnswerRe: Hard drive making noise Pin
Jochen Arndt19-Jul-17 0:13
professionalJochen Arndt19-Jul-17 0:13 
AnswerRe: Hard drive making noise Pin
Member 1353404121-Nov-17 11:13
Member 1353404121-Nov-17 11:13 
AnswerRe: I have three DS18B20's. I can't tell if any of them are working correctly Pin
Gerry Schmitz21-Jun-17 4:30
mveGerry Schmitz21-Jun-17 4:30 
AnswerRe: NE555n timer or NE555p timer? Pin
Richard MacCutchan18-Jun-17 23:51
mveRichard MacCutchan18-Jun-17 23:51 
QuestionAmplifier and Speaker Pin
schmähdandler15-Jun-17 14:39
schmähdandler15-Jun-17 14:39 
AnswerRe: Amplifier and Speaker Pin
Wendelius15-Jun-17 19:06
mentorWendelius15-Jun-17 19:06 
AnswerRe: Amplifier and Speaker Pin
Jochen Arndt21-Jun-17 0:58
professionalJochen Arndt21-Jun-17 0:58 
AnswerRe: Questions about ATtiny85 Pin
Gerry Schmitz7-Jun-17 4:32
mveGerry Schmitz7-Jun-17 4: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.