Code Monkey home page Code Monkey logo

ontl's Introduction

Open NT Native Template Library

Why NTL?

This FAQ does not intend to provide a complete answer to the question: Could one write windows kernel mode drivers in C++? The short answer is No (see C++ for Kernel Mode Drivers: Pros and Cons on MSDN). The longer answer is Yes, but there are a lot of restrictions (see C++ in an NT Driver on OSR Online, registration required). We believe we have ways around (most, if not all of) those restrictions. The C++ Standard library is greatly appreciated by programmers who code in C++, but as of now, not available in the (Windows) kernel. We are sure things would get better, there would be standard library implementations those would work in windows kernel someday, but we live and code today, and we need a working implementation NOW.

More importantly, NTL is to enable an easier way to write portable code between kernel/user modes. Though this could not be easily done in general, but it would be helpful for testing kernel code in userland. Moreover (and better) - undocumented structures, PE format support and cryptographic functions are being added.

How to use?

First of all, you should wait for a stable release. If you are on the bleeding edge, you could hack around our current code base. You are going to need MSVC 2005 with SP1 or newer and windows DDK/WDK library files (as NTL does not depend on any header). Have a look at the samples to get started. Also there is a test suites based on TUT framework.

Now NTL comes with VisualStudio Wizard.

The project is published under zlib/libgng license. In short, the library may be used in a closed-source project without any restrictions or copyright notices.

How about documentation?

Since many parts of NTL are just C++ wrappers for documented Windows APIs, we could copy-paste from MSDN but that's really not a good option.

NTL does not follow the waterfall model but is in early and active development stage, documentation will be available once its interface is stable. For now, you could run doxygen on NTL.

ontl's People

Contributors

freakzzz avatar icestudent avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.