This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description

IntelliCoder

Position independent programming for humans. (WIP.)

Or seriously, automation of position independent code generation from normal C source code.

Current State: It’s a pretotype or a toy serving educational purposes.

Installation

Clone and run.

  • git clone --depth 1 https://github.com/NoviceLive/intellicoder.git
  • pip install -r requirements.txt
  • ./ic.py --help

Usable Features

Usage

See ./ic.py --help.

Note that some commands are not usable and some may change without notification.

./ic.py --help
Usage: ic.py [OPTIONS] COMMAND [ARGS]...

  Position Independent Programming For Humans.

Options:
  -V, --version        Show the version and exit.
  -v, --verbose        Be verbose.
  -q, --quiet          Be quiet.
  -d, --database PATH  Connect the database.
  -s, --sense PATH     Connect the IntelliSense database.
  -h, --help           Show this message and exit.

Commands:
  add     Add data on Linux system calls.
  build   Build (Don't use for the time being).
  conv    Convert binary.
  export  Operate on libraries and exported functions.
  info    Find in the Linux system calls.
  kinds   Operate on IntelliSense kind ids and names.
  lin     Linux.
  make    Make binaries from sources.
  search  Query Windows identifiers and locations.
  win     Windows.
  winapi  Query Win32 API declarations.

Shellcode Extraction & Conversion

See ./ic.py conv --help.

Linux System Call Searching

See ./ic.py info --help.

Examples

$ ./ic.py info fork
fork i386 2
long fork(); /* kernel/fork.c */
fork common 57
long fork(); /* kernel/fork.c */

$ ./ic.py info 11
execve i386 11
long execve(const char * filename,  const char *const * argv,  const char *const * envp); /* fs/exec.c */
long execve(const char * filename, const compat_uptr_t * argv, const compat_uptr_t * envp); /* fs/exec.c */
munmap common 11
long munmap(unsigned long addr,  size_t len); /* mm/nommu.c */
long munmap(unsigned long addr,  size_t len); /* mm/mmap.c */

$ ./ic.py info 0xb
execve i386 11
long execve(const char * filename,  const char *const * argv,  const char *const * envp); /* fs/exec.c */
long execve(const char * filename, const compat_uptr_t * argv, const compat_uptr_t * envp); /* fs/exec.c */
munmap common 11
long munmap(unsigned long addr,  size_t len); /* mm/nommu.c */
long munmap(unsigned long addr,  size_t len); /* mm/mmap.c */

Directory Structure

intellicoder/

intellicoder/executables/

A simple abstraction layer of binary executables based on existing predominant libraries such as pyelftools.

Note that it’s incomplete and ad-hoc for the time being.

intellicoder/msbuild/

Despite its name, intellicoder.msbuild does not wrap MSBuild.

Instead, it wraps against MSVC with SDKs (and WDKs) to ease the automation of compilation on Windows.

intellicoder/intellisense/

Collect necessary information, e.g., function prototypes, leveraging the database of IntelliSense.

static/

C library sources and headers.

These are licensed under GNU Lesser General Public License.

recipes/

Examples.

Note thta some are work in progress and may not work as intended.

Copying Conditions

Unless otherwise specified, IntelliCoder is licensed under GNU General Public License.

Release History

Release History

0.5.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.5.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.5.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
IntelliCoder-0.5.2.tar.gz (112.7 kB) Copy SHA256 Checksum SHA256 Source Jun 19, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting