Would these *free* downloads be of anyhelp to ROS developers

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

Post Reply
Happy-Dude
Posts: 11
Joined: Fri Aug 08, 2008 4:32 pm

Would these *free* downloads be of anyhelp to ROS developers

Post by Happy-Dude »

Heya guys!!

I've read around, and I ran into these: Microsoft Detours 2.1 (http://research.microsoft.com/sn/detours/ ) & Windows Research Kernel (http://www.microsoft.com/resources/shar ... elkit.mspx ).

I was just wondering if the ROS developers are able to take these packages and analyze them so they can be put into use for ReactOS.

Windows Research Kernel:
Overview

The WRK packages core Windows XP x64 and Windows Server 2003 SP1 kernel source code with an environment for building and testing experimental versions of the Windows kernel for use in teaching and research.

The WRK includes the source for:

* Processes
* Threads
* LPC
* Virtual memory
* Scheduler
* Object manager
* I/O manager
* Synchronization
* Worker threads
* Kernel heap manager
* Other core Windows (NTOS) kernel functionality

The WRK is useful in design projects that allow your students to explore operating system (OS) principles using the Windows kernel sources. It facilitates the building of experiments and projects based on modifying the Windows kernel, enabling advanced teaching and research that promote better understanding of the Windows architecture and implementation.
Back to top
WRK Details

The Windows Research Kernel contains the sources for the core Windows (NTOS) kernel.

NTOS implements the basic OS functions for:

* Processes
* Threads
* Virtual memory and cache managers
* I/O management
* The registry
* Executive functions, such as the kernel heap and synchronization
* Object manager
* Local procedure call mechanism
* Security reference monitor
* Low-level CPU management (thread scheduling, Asynchronous and Deferred Procedure calls, interrupt/trap handling, exceptions)

The NT Hardware Abstraction Layer, file systems, network stacks, and device drivers are implemented separately from NTOS and loaded into kernel mode as dynamic libraries. Sources for these dynamic components are not included in the WRK. However, some are available in various development kits published by Microsoft, such as the Installable File System Kit and the Windows Driver Development Kit.

The WRK includes most of the NTOS kernel sources from the latest released version of Windows, which supports the x64 architecture on the desktop. The kernel sources excluded from the kit are primarily in the areas of Plug and Play, power management, the device verifier, kernel debugger interface, and virtual DOS machine. The primary modifications of the released kernel for the WRK are related to cleanup and removal of server support, such as code related to the Intel IA64.

WRK is primarily intended for faculty and instructors working in the area of operating systems who develop courses and write textbooks and want to include information about the Windows kernel based on the actual source code.

The WRK includes a build/test environment and binaries for the omitted source components, which can be used to build fully functional NTOS kernels that can be installed on Windows Server 2003 for x86/x64 and Windows XP x64.
Microsoft Detours 2.1:
Detours 2.1 is now available. Detours 2.1 includes the following new features:

* Complete documentation of the Detours API.
* Transactional model for attaching and detaching detours.
* Support for updating peer threads when attaching or detaching detours.
* Unification of dynamic and static detours into a single API.
* Support for detection of detoured processes.
* Significant robustness improvements in APIs that start a process with a DLL containing detour functions.
* New APIs to copy payloads into target processes.
* Support for 64-bit code on x64 and IA64 processors (available in Professional edition only).
* Supports building detours with Visual Studio 2005, Visual Studio .NET 2003, Visual Studio .NET (VC8), and Visual Studio (VC7).

Detours 2.1 comes in two editions:

* Detours Express 2.1 is available for immediate download under a no-fee, click-through license for research, non-commercial, and non-production use on 32-bit code.
* Detours Professional 2.1 includes a license for use in production environments and the right to distribute detour functions in products. In addition to support for 32-bit x86 code, Detours Professional 2.1 includes support for 64-bit code on x64 and IA64 processors. For information on licensing Detours Professional 2.1 visit Microsoft's IP Licensing Group at http://www.microsoft.com/iplicensing.

Overview

Innovative systems research hinges on the ability to easily instrument and extend existing operating system and application functionality. With access to appropriate source code, it is often trivial to insert new instrumentation or extensions by rebuilding the OS or application. However, in today's world systems researchers seldom have access to all relevant source code.

Detours is a library for instrumenting arbitrary Win32 functions on x86, x64, and IA64 machines. Detours intercepts Win32 functions by re-writing the in-memory code for target functions. The Detours package also contains utilities to attach arbitrary DLLs and data segments (called payloads) to any Win32 binary.

Detours preserves the un-instrumented target function (callable through a trampoline) as a subroutine for use by the instrumentation. Our trampoline design enables a large class of innovative extensions to existing binary software.

We have used Detours to create an automatic distributed partitioning system, to instrument and analyze the DCOM protocol stack, and to create a thunking layer for a COM-based OS API. Detours is used widely within Microsoft and within the industry.
Z98
Release Engineer
Posts: 3379
Joined: Tue May 02, 2006 8:16 pm
Contact:

Re: Would these *free* downloads be of anyhelp to ROS developers

Post by Z98 »

Neither would be useful. Both have licenses that restrict usage of the code to non-commercial, research purposes, which ROS is certainly not or might not stay under.
Blackcrack
Posts: 1808
Joined: Tue Dec 20, 2005 12:55 pm
Contact:

Re: Would these *free* downloads be of anyhelp to ROS developers

Post by Blackcrack »

Hy Z98,

that is good and will surely pay off later for reactos, if the code from Microsoft will not put!
How can companies later Reactos support and also for yet another reactos happen:)
Reactos and GPL it is simply a fine thing! :mrgreen:


best Regards
Blacky
hto
Developer
Posts: 2193
Joined: Sun Oct 01, 2006 3:43 pm

Re: Would these *free* downloads be of anyhelp to ROS developers

Post by hto »

"FREE", "free", "*free*", etc. will not help. Only "Free". :)
Blackcrack
Posts: 1808
Joined: Tue Dec 20, 2005 12:55 pm
Contact:

Re: Would these *free* downloads be of anyhelp to ROS developers

Post by Blackcrack »

Hy hto,

no half-empty glass is half full, half full glass is half full,
you can fill again, may so far it is opensource like an apple...
applemoscht or applejuce or a applewoi' *rofl*
or maby.. wine *bg* chears'

best regards
Blacky
Lone_Rifle
Test Team
Posts: 802
Joined: Thu Apr 03, 2008 2:17 pm
Contact:

Re: Would these *free* downloads be of anyhelp to ROS developers

Post by Lone_Rifle »

Detours Pro has a license which allows the redistribution of functions. Surely if Maya or somebody else is given one it would help with RSP and other Win32-related development? If so, perhaps a fundraising drive?
Ged
Developer
Posts: 925
Joined: Thu Sep 29, 2005 3:00 pm
Location: UK

Re: Would these *free* downloads be of anyhelp to ROS developers

Post by Ged »

I'm pretty sure all NT devs are aware of WRK and Detours.
If they aren't, then they should be ashamed of themselves ;)

For ReactOS, WRK is a defnite no no and detours is pretty useless.
Happy-Dude
Posts: 11
Joined: Fri Aug 08, 2008 4:32 pm

Re: Would these *free* downloads be of anyhelp to ROS developers

Post by Happy-Dude »

Well, it's not necessarily to take and use, rather take, analyze what they can offer, and perhaps hack something up for ROS.

Though, I do sometimes wonder what's the progress on the kernel and APIs going. The build reports don't tell us much on this ...
Z98
Release Engineer
Posts: 3379
Joined: Tue May 02, 2006 8:16 pm
Contact:

Re: Would these *free* downloads be of anyhelp to ROS developers

Post by Z98 »

We can't legally touch the WRK for the purpose of working on ROS.
joxean
Posts: 1
Joined: Mon Oct 17, 2005 9:21 am

Re: Would these *free* downloads be of anyhelp to ROS developers

Post by joxean »

Ged wrote:For ReactOS, WRK is a defnite no no and detours is pretty useless.
Pretty useless? Why? In example, I'm writting a sandbox to analyze malware. A first release using Wine was created and now I want to use ReactOS. Without a way to hook function calls, how can I know what the malware is doing?

Ged, really, a hooking library is not useless even in an open source operating system.

BTW, how can I hook function calls in ReactOS? :)
vicmarcal
Test Team
Posts: 2733
Joined: Mon Jul 07, 2008 12:35 pm

Re: Would these *free* downloads be of anyhelp to ROS developers

Post by vicmarcal »

Join #reactos channel. All u help u need is there.
Ged
Developer
Posts: 925
Joined: Thu Sep 29, 2005 3:00 pm
Location: UK

Re: Would these *free* downloads be of anyhelp to ROS developers

Post by Ged »

joxean wrote:
Ged wrote:For ReactOS, WRK is a defnite no no and detours is pretty useless.
Pretty useless? Why? In example, I'm writting a sandbox to analyze malware. A first release using Wine was created and now I want to use ReactOS. Without a way to hook function calls, how can I know what the malware is doing?

Ged, really, a hooking library is not useless even in an open source operating system.
Did you even read the original question?
The context the word 'useless' was used, is in relation to it being of any help to ros devs.
Detours is of absolutley no help in developing reactos. Why would it be?
andrewweb
Posts: 263
Joined: Fri Jun 01, 2007 3:59 pm
Location: United Kingdom
Contact:

Re: Would these *free* downloads be of anyhelp to ROS developers

Post by andrewweb »

Ged wrote:
joxean wrote:
Ged wrote:For ReactOS, WRK is a defnite no no and detours is pretty useless.
Pretty useless? Why? In example, I'm writting a sandbox to analyze malware. A first release using Wine was created and now I want to use ReactOS. Without a way to hook function calls, how can I know what the malware is doing?

Ged, really, a hooking library is not useless even in an open source operating system.
Did you even read the original question?
The context the word 'useless' was used, is in relation to it being of any help to ros devs.
Detours is of absolutley no help in developing reactos. Why would it be?
Good point. Even if it were, then ReactOS cannot use it because of MS licensing, also, MS would shut it off to us if they knew ReactOS was using it to build itself!
Post Reply

Who is online

Users browsing this forum: Google [Bot], Yeti [Bot] and 54 guests