ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

assembly.c File Reference
#include <stdarg.h>
#include <stdio.h>
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "winver.h"
#include "wincrypt.h"
#include "dbghelp.h"
#include "ole2.h"
#include "fusion.h"
#include "corhdr.h"
#include "fusionpriv.h"
#include "wine/debug.h"
#include "wine/unicode.h"

Go to the source code of this file.

Data Structures

struct  CLRTABLE
struct  ASSEMBLY

Defines

#define TableFromToken(tk)   (TypeFromToken(tk) >> 24)
#define TokenFromTable(idx)   (idx << 24)
#define MAX_CLR_TABLES   64
#define MD_STRINGS_BIT   0x1
#define MD_GUIDS_BIT   0x2
#define MD_BLOBS_BIT   0x4
#define MAX_TABLES_WORD   0xFFFF
#define MAX_TABLES_1BIT_ENCODE   32767
#define MAX_TABLES_2BIT_ENCODE   16383
#define MAX_TABLES_3BIT_ENCODE   8191
#define MAX_TABLES_5BIT_ENCODE   2047

Functions

static DWORD rva_to_offset (IMAGE_NT_HEADERS *nthdrs, DWORD rva)
static BYTEGetData (BYTE *pData, ULONG *pLength)
static VOIDassembly_data_offset (ASSEMBLY *assembly, ULONG offset)
static ULONG get_table_size (const ASSEMBLY *assembly, DWORD index)
static HRESULT parse_clr_tables (ASSEMBLY *assembly, ULONG offset)
static HRESULT parse_metadata_header (ASSEMBLY *assembly, DWORD *hdrsz)
static HRESULT parse_clr_metadata (ASSEMBLY *assembly)
static HRESULT parse_pe_header (ASSEMBLY *assembly)
HRESULT assembly_create (ASSEMBLY **out, LPCWSTR file)
HRESULT assembly_release (ASSEMBLY *assembly)
static LPWSTR assembly_dup_str (const ASSEMBLY *assembly, DWORD index)
HRESULT assembly_get_name (ASSEMBLY *assembly, LPWSTR *name)
HRESULT assembly_get_path (const ASSEMBLY *assembly, LPWSTR *path)
HRESULT assembly_get_version (ASSEMBLY *assembly, LPWSTR *version)
BYTE assembly_get_architecture (ASSEMBLY *assembly)
static BYTEassembly_get_blob (ASSEMBLY *assembly, WORD index, ULONG *size)
HRESULT assembly_get_pubkey_token (ASSEMBLY *assembly, LPWSTR *token)

Generated on Fri May 25 2012 05:07:25 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.