Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f52ecfe0
Commit
f52ecfe0
authored
May 03, 2008
by
James Hawkins
Committed by
Alexandre Julliard
May 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fusion: Add the missing assembly table structs.
parent
4442306a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
259 additions
and
34 deletions
+259
-34
assembly.c
dlls/fusion/assembly.c
+33
-34
fusionpriv.h
dlls/fusion/fusionpriv.h
+226
-0
No files found.
dlls/fusion/assembly.c
View file @
f52ecfe0
...
@@ -64,54 +64,53 @@ struct tagASSEMBLY
...
@@ -64,54 +64,53 @@ struct tagASSEMBLY
BYTE
*
blobs
;
BYTE
*
blobs
;
};
};
/* FIXME: fill in */
const
DWORD
COR_TABLE_SIZES
[
64
]
=
const
DWORD
COR_TABLE_SIZES
[
64
]
=
{
{
sizeof
(
MODULETABLE
),
sizeof
(
MODULETABLE
),
sizeof
(
TYPEREFTABLE
),
sizeof
(
TYPEREFTABLE
),
sizeof
(
TYPEDEFTABLE
),
sizeof
(
TYPEDEFTABLE
),
0
,
0
,
sizeof
(
FIELDTABLE
),
0
,
0
,
sizeof
(
METHODDEFTABLE
),
0
,
0
,
sizeof
(
PARAMTABLE
),
sizeof
(
INTERFACEIMPLTABLE
),
sizeof
(
MEMBERREFTABLE
),
sizeof
(
CONSTANTTABLE
),
sizeof
(
CUSTOMATTRIBUTETABLE
),
sizeof
(
FIELDMARSHALTABLE
),
sizeof
(
DECLSECURITYTABLE
),
sizeof
(
CLASSLAYOUTTABLE
),
sizeof
(
FIELDLAYOUTTABLE
),
sizeof
(
STANDALONESIGTABLE
),
sizeof
(
EVENTMAPTABLE
),
0
,
0
,
sizeof
(
EVENTTABLE
),
sizeof
(
PROPERTYMAPTABLE
),
0
,
0
,
0
,
sizeof
(
PROPERTYTABLE
),
0
,
sizeof
(
METHODSEMANTICSTABLE
),
0
,
sizeof
(
METHODIMPLTABLE
),
0
,
sizeof
(
MODULEREFTABLE
),
0
,
sizeof
(
TYPESPECTABLE
),
0
,
sizeof
(
IMPLMAPTABLE
),
0
,
sizeof
(
FIELDRVATABLE
),
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
sizeof
(
ASSEMBLYTABLE
),
sizeof
(
ASSEMBLYTABLE
),
0
,
sizeof
(
ASSEMBLYPROCESSORTABLE
)
,
0
,
sizeof
(
ASSEMBLYOSTABLE
)
,
0
,
sizeof
(
ASSEMBLYREFTABLE
)
,
0
,
sizeof
(
ASSEMBLYREFPROCESSORTABLE
)
,
0
,
sizeof
(
ASSEMBLYREFOSTABLE
)
,
0
,
sizeof
(
FILETABLE
)
,
0
,
sizeof
(
EXPORTEDTYPETABLE
)
,
sizeof
(
MANIFESTRESTABLE
),
sizeof
(
MANIFESTRESTABLE
),
0
,
sizeof
(
NESTEDCLASSTABLE
)
,
0
,
sizeof
(
GENERICPARAMTABLE
)
,
0
,
sizeof
(
METHODSPECTABLE
)
,
0
,
sizeof
(
GENERICPARAMCONSTRAINTTABLE
)
,
0
,
0
,
0
,
0
,
0
,
0
,
...
...
dlls/fusion/fusionpriv.h
View file @
f52ecfe0
...
@@ -86,6 +86,13 @@ typedef struct
...
@@ -86,6 +86,13 @@ typedef struct
typedef
struct
typedef
struct
{
{
WORD
Flags
;
WORD
Name
;
WORD
Signature
;
}
FIELDTABLE
;
typedef
struct
{
DWORD
HashAlgId
;
DWORD
HashAlgId
;
WORD
MajorVersion
;
WORD
MajorVersion
;
WORD
MinorVersion
;
WORD
MinorVersion
;
...
@@ -107,6 +114,225 @@ typedef struct
...
@@ -107,6 +114,225 @@ typedef struct
typedef
struct
typedef
struct
{
{
DWORD
RVA
;
WORD
ImplFlags
;
WORD
Flags
;
WORD
Name
;
WORD
Signature
;
WORD
ParamList
;
}
METHODDEFTABLE
;
typedef
struct
{
WORD
Flags
;
WORD
Sequence
;
WORD
Name
;
}
PARAMTABLE
;
typedef
struct
{
WORD
Class
;
WORD
Interface
;
}
INTERFACEIMPLTABLE
;
typedef
struct
{
WORD
Class
;
WORD
Name
;
WORD
Signature
;
}
MEMBERREFTABLE
;
typedef
struct
{
BYTE
Type
;
BYTE
Reserved
;
WORD
Parent
;
WORD
Value
;
}
CONSTANTTABLE
;
typedef
struct
{
WORD
Parent
;
WORD
Type
;
WORD
Value
;
}
CUSTOMATTRIBUTETABLE
;
typedef
struct
{
WORD
Parent
;
WORD
NativeType
;
}
FIELDMARSHALTABLE
;
typedef
struct
{
WORD
Action
;
WORD
Parent
;
WORD
PermissionSet
;
}
DECLSECURITYTABLE
;
typedef
struct
{
WORD
PackingSize
;
DWORD
ClassSize
;
WORD
Parent
;
}
CLASSLAYOUTTABLE
;
typedef
struct
{
DWORD
Offset
;
WORD
Field
;
}
FIELDLAYOUTTABLE
;
typedef
struct
{
WORD
Signature
;
}
STANDALONESIGTABLE
;
typedef
struct
{
WORD
Parent
;
WORD
EventList
;
}
EVENTMAPTABLE
;
typedef
struct
{
WORD
EventFlags
;
WORD
Name
;
WORD
EventType
;
}
EVENTTABLE
;
typedef
struct
{
WORD
Parent
;
WORD
PropertyList
;
}
PROPERTYMAPTABLE
;
typedef
struct
{
WORD
Flags
;
WORD
Name
;
WORD
Type
;
}
PROPERTYTABLE
;
typedef
struct
{
WORD
Semantics
;
WORD
Method
;
WORD
Association
;
}
METHODSEMANTICSTABLE
;
typedef
struct
{
WORD
Class
;
WORD
MethodBody
;
WORD
MethodDeclaration
;
}
METHODIMPLTABLE
;
typedef
struct
{
WORD
Name
;
}
MODULEREFTABLE
;
typedef
struct
{
WORD
Signature
;
}
TYPESPECTABLE
;
typedef
struct
{
WORD
MappingFlags
;
WORD
MemberForwarded
;
WORD
ImportName
;
WORD
ImportScope
;
}
IMPLMAPTABLE
;
typedef
struct
{
DWORD
RVA
;
WORD
Field
;
}
FIELDRVATABLE
;
typedef
struct
{
DWORD
Processor
;
}
ASSEMBLYPROCESSORTABLE
;
typedef
struct
{
DWORD
OSPlatformID
;
DWORD
OSMajorVersion
;
DWORD
OSMinorVersion
;
}
ASSEMBLYOSTABLE
;
typedef
struct
{
WORD
MajorVersion
;
WORD
MinorVersion
;
WORD
BuildNumber
;
WORD
RevisionNumber
;
DWORD
Flags
;
WORD
PublickKeyOrToken
;
WORD
Name
;
WORD
Culture
;
WORD
HashValue
;
}
ASSEMBLYREFTABLE
;
typedef
struct
{
DWORD
Processor
;
WORD
AssemblyRef
;
}
ASSEMBLYREFPROCESSORTABLE
;
typedef
struct
{
DWORD
OSPlatformId
;
DWORD
OSMajorVersion
;
DWORD
OSMinorVersion
;
WORD
AssemblyRef
;
}
ASSEMBLYREFOSTABLE
;
typedef
struct
{
DWORD
Flags
;
WORD
Name
;
WORD
HashValue
;
}
FILETABLE
;
typedef
struct
{
DWORD
Flags
;
DWORD
TypeDefId
;
WORD
TypeName
;
WORD
TypeNameSpace
;
WORD
Implementation
;
}
EXPORTEDTYPETABLE
;
typedef
struct
{
WORD
NestedClass
;
WORD
EnclosingClass
;
}
NESTEDCLASSTABLE
;
typedef
struct
{
WORD
Number
;
WORD
Flags
;
}
GENERICPARAMTABLE
;
typedef
struct
{
WORD
MethodDef
;
WORD
Instantiation
;
}
METHODSPECTABLE
;
typedef
struct
{
WORD
Owner
;
WORD
Constraint
;
}
GENERICPARAMCONSTRAINTTABLE
;
typedef
struct
{
DWORD
ImportLookupTable
;
DWORD
ImportLookupTable
;
DWORD
DateTimeStamp
;
DWORD
DateTimeStamp
;
DWORD
ForwarderChain
;
DWORD
ForwarderChain
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment