Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-21Rev netcoreapp2.0 to netcoreapp2.1 (#5974)Adeel Mujahid
2018-05-06Enable resolving of .netmodule references (#5767)Wolfgang Ziegler
2018-03-21Enable local strongname signing (#5582)Jan Kotas
sign.targets defaults assume that the strongname signing will be done by the official strongname keys. We do not want that for ILVerification.dll since we have our own local checked in key.
2018-03-14Fix exception when verifying netmodules (#5541)Wolfgang Ziegler
2018-03-07[ILVerify] Fix include/exclude pattern matching by using fully qualified ↵Michael Mayr
method name and added some verbose output (#5416) * Fix include/exclude pattern matching by using fully qualified method name and added some verbose output * Added missing file * fix stringification of FieldDesc, MethodDesc and TypeDesc * Print progress as it goes * Handle empty namespace in GetQualifiedMethodName * Use simple counters for statistics and incorporated additional PR feedback * Removed ProcessedMethodTracker class and do all counting/printing logic directly in the VerifyAssembly method
2018-02-24Convert ILVerify, ILVerification and ILVerification.Tests to old build (#5351)Andon Andonov
* Convert ILVerify, ILVerification and ILVerification.Tests to old build system * Respond to PR Feedback * Change target frameworks add runtime config * Change accessor and debugging files * Mirror ILCompiler debugging in ILVerify * Case change * Add runtime options property to ILVerify runtime json
2018-01-18ILVerify: split into exe and library (#5258)Julien Couvreur
2018-01-10Add public API for ILVerify (#5186)Julien Couvreur
2018-01-04[ILVerify] Fix backward branching rule using signed byte for short-branch ↵Samuel Arzt
deltas (#5202) * Added test case for backwards brfalse_s. * Fixed MarkPredecessorWithLowerOffset using unsigned byte for short deltas.
2018-01-04Fixed some test assemblies not defining assembly name = file name. (#5198)Samuel Arzt
2017-12-17[ILVerify] Implement tail-ret and invalid method end verification (#5122)Samuel Arzt
* Implemented tail-ret sequence verification. * Added test cases for tail-ret sequence. * Fixed ILImporter not calling EndImportingInstruction when returning from switch. * Added ReportMethodEndInsideInstruction to ILImporter. * Changed ReportMethodEndInsideInstruction to be reported inside FindJumpTargets. * Added additional tail-ret tests. * Changed tail-ret verification to be done in ImportCall. * Changed ReportMethodEndInsideInstruction to be reported for all il stream read operations.
2017-12-15Updated reference to Visual Studio (#5119)Alfred Myers
2017-12-14[ILVerify] Implement backward branch verification (#5113)Samuel Arzt
* Added tests for backward branching. * Implemented backward branch verification. * Added test case for backward branch with complex predecessor.
2017-12-13[ILVerify] Implement verification of jump target offsets (#5101)Samuel Arzt
* Implemented bad jump verification error. * Added test cases for bad jump verification.
2017-12-13[ILVerify] Fix leave from catch into enclosing try and assignability of ↵Samuel Arzt
readonly ByRefs (#5097) * Fixed leave target validation using target try index instead of src handler index. * Fixed IsAssignable not checking readonlyness of byrefs. * Renamed CatchIntoTry test to be more fitting.
2017-11-28[ILVerify] Add additional tests for delegate assignment/return (#5027)Samuel Arzt
* Added additional tests for delegate assignment/return. * Added ftn/delegate test cases for byte/int parameters and enums.
2017-11-20Removed deprecated PEVerify errors. (#4965)Samuel Arzt
2017-11-18[ILVerify] Implement missing exception region errors (#4960)Samuel Arzt
* Changed branch target verification to report BranchOutOfFinally instead of BranchOutOfHandler for branching out of finally blocks. * Added specific errors for fallthrough into/out of exception regions. * Removed outdated PEVerify errors.
2017-11-17Changed assembly friend access comparison to use OrdinalIgnoreCase. (#4954)Samuel Arzt
2017-11-17[ILVerify] Fix assembly friend access being sensitive to white-spaces (#4950)Samuel Arzt
* Changed friend assembly parsing to use AssemblyName class instead.
2017-11-16Fix direction of variance check in delegate assignment (#4945)Julien Couvreur
* Fix direction of variance check in delegate assignment * Add tests
2017-11-16[ILVerify] Implement missing newobj verifications (#4949)Samuel Arzt
* Added some missing newobj verifications. * Renamed Initonly VerifierError to InitOnly. * Implemented remaining newobj verifications. * Added missing readonly call verification. * Added missing field parent constraints check. * Added missing check for tail call in exception regions. * Added found type to Endfilter Int expected error. * Added tests for newly implemented verification rules.
2017-11-11[ILVerify] Implement verification of initonly fields (#4914)Samuel Arzt
* Implemented verification of initonly fields. * Added tests for initonly field verifications.
2017-11-10[ILVerify] Implement missing cast, box and leave verifications. (#4903)Samuel Arzt
* Added missing castclass verifications. * Added tests for new castclass verifications. * Added missing box verifications. * Added tests for new box verifications. * Implemented valid leave target verification. * Added tests for leave target verification. * Added Verifier errors for BadBranch, UnknownOpcode and MethodFallthrough. * Changed disjoint try block determination algorithm and added additional test cases.
2017-11-02Added net46 as second target framework. (#4862)Samuel Arzt
2017-10-31Fixed some false negatives when verifying mscorlib. (#4847)Samuel Arzt
2017-10-23Search/replace Debug.Assert(false, => Debug.Fail( (#4782)Jan Kotas
2017-10-20[ILVerify] Instantiate generic constraints on initialization (#4758)Samuel Arzt
* Implemented InstantiatedGenericParameter in order to be able to correctly cast constraints with generic parameter instantiations. * Added test case for casting constrained generic with generic parameter inside constraint. * Changed InstantiatedGenericParameter to be able to handle complex generic constraints. * Added GetInstantiatedGenericParameter to TypeSystemContext. * Changed generic type / method instantation to be created by InstantiatedGenericParameter.
2017-10-19[ILVerify] Implement type / method / field access verifications (#4762)Samuel Arzt
* WIP: Implemented class and method access verification. * Changed access verifications to appropriately cast to EcmaType/Method. * Added test cases for type / method access verifications. * Implemented method signature access verification. * Added test cases for method signature access verification. * Implemented field access verification. * Added tests for field access verification. * Added special test case for accessing family field of superclass of containing class. Refactored some AccessTest names. * Added additional instance parameter to field/method access checks, to check family access. * Implemented access verification for friend assemblies. * Added relevant PEVerify code part for security critical code. * Added try-catch to public key comparison.
2017-10-18[ILVerify] Implement delegate creation checks (#4733)Samuel Arzt
* Implemented verification of delegate creation. * Added test cases for delegate creation pattern. * Implemented delegate compatibility check. * Added tests for delegate compatibility checks. * Added checks for call to non-final virtual methods. * Fixed using call on sealed type methods reporting this mismatch. * Added tests for this mismatch verification. * Added additional tests for modifying this pointer after base call.
2017-10-13[ILVerify] Implement tracking of 'this' pointer state (#4714)Samuel Arzt
* Implemented tracking of 'this' state. * Fixed specific instructions using unsafe pop. * Added test support for methods with special names. * Added documentation for test cases of special name methods. * Added test cases for this state tracking. * Fixed try / leave not propagating this state. Changed this state tracking to allow field access on uninitialized this.
2017-10-12[ILVerify] Instantiate constraints of generic parameters used as ↵Samuel Arzt
instantiation (#4641) * Added test case for generic instantiation with generic constraint instantiated with generic parameter. * Implemented instantiation of generic parameter constraints in constraints check. * Changed GetInstantiatedConstraints to use ArrayBuilder instead of List. * Added recursive constraint instantiation. * Added instantiation context to be able to instantiate generic generic constraints. * Added additional tests for CheckConstraints with InstantiationContext.
2017-10-04[ILVerify] Implement verification of return instruction (#4650)Samuel Arzt
* Implement verification of return instruction. Added PermanentHome flag to StackValue. * Fixed test cases not returning correctly. * Reverted load static field changes. * Added trackObjCtor flag and added relevant references to PEVerify code blocks. * Added test cases for return instruction.
2017-09-29[ILVerify] Fix invalid branch/fallthrough into catch/finally causing assert ↵Samuel Arzt
(#4636) * Fixed fallthrough into filter/catch/finally causing assert. * Fixed catch block of TryIntoFilter test not leaving correctly.
2017-09-22[ILVerify] Fix block re-verification possibly causing endless loop (#4575)Samuel Arzt
* Fixed block re-verification after stack merge possibly causing endless loop. * Refactored BasicBlock.EndOffset to BasicBlock.ImportState.
2017-09-21[ILVerify] Fix assigning interface with variance to object generating error ↵Samuel Arzt
(#4576) * Fixed assigning interface with variance to object generating verification error. * Added test cases for casting variant interface to object. * Removed interface check in non variant path of CanCastToClass.
2017-09-20[ILVerify] Implement Ldftn/Ldvirtftn instruction (#4497)Samuel Arzt
* Added VerifierError for ldftn/ldvirtftn of constructor. * Implemented basic ldftn and basic delegate creation functionality. * Added TestName attribute to TestCases to further shorten display name of tests. * Implemented basic ldftn functionality and constraint checks. Moved type conversions to helper class. * Added test cases for ldftn and newobj of constrained generic types. * Added test cases for ldvirtftn. Fixed display of invalid test errors. * Changed constraints checks to use ConstraintsHelper class. Added additional test cases for GenericParam as generic parameter with special constraints. * Added additional constraints check for generic parameters with special constraints. * Fixed typo in filename of TypeSystemConstraintsHelpers. * Fixed typo in 'ILDisassember'. * Slight code refactoring. Added reference to test case assert issue.
2017-09-07[ILVerify] Implement stack merging (#4448)Samuel Arzt
* Added test case for unequal stack merging on fallthrough. * Added test case for merging stack with constrained generic. * Added additional tests for stack merging. * Implemented merging of stack values for import fallthrough. * Modified stack merge for arrays and block reverification. * Changed ErrorCount check to be performed in ImportFallthrough. * Changed IsValidBranchTarget to use ref var. * Implemented Equals for StackValue. * Added test for invalid unequal stack merge with generics. * Fixed test AssignReturnValueFromContrainedProperty not using box instruction. * Refactored and optimized stack merging. * Removed uneccessary null check in StackValue == operator. Renamed MergeClasses. * Fixed stack merging producing false negatives for array constrained generics.
2017-09-01[ILVerify] Fixed IsValidBranchTarget not allowing to branch to first ↵Samuel Arzt
instruction of try blocks (#4381) * Changed theory display name and categorised theories with trait attributes. * Fixed IsValidBranchTarget not allowing to branch to the first instruction of try blocks. * Added additional tests for branching into/out of protected blocks. * Removed redundant moduleName info from TestCase toString. * Added additional test cases for branching into another try block outside of the current one. * Added method parameters to error output in order to be able to distinguish between overloaded methods. * Added additional test case for branching into an inner try. * Added additional valid test case for branching to the start of a double nested try-block. * Added additional test case for branching into try with predecessor. * Fixed IsValidBranchTarget not checking for double nested try blocks. * Fixed jumping to nested try start from outside of try being verified and added a test case for this scenario.
2017-08-29[ILVerify] Fix stind to allow storing a string to ref string (#4412)Samuel Arzt
* Added test case for assigning a string to a ref string. * Modified store indirect to correctly check types of value and address. * Added additional test case for assigning string to string ref as object. * Changed stind.ref to not replace typeToken with Object but address type.
2017-08-29[ILVerify] Fix for issue #4359 (#4411)Samuel Arzt
* Added test case for issue #4359. * Changed Importer.Verify to use InstantiatedMethod/MethodForInstantiatedType for generic methods. * Added test cases of #4065. * Added additional test case for assigning an Int32 to IComparable through boxing. * Changed order of thisType instantiation and method instantiation.
2017-08-28[ILVerify] Fix for issue #4357 and #4358. (#4402)Samuel Arzt
* Added testcases for issue 4357 and 4358. * Fixed ILImporter calling ImportStoreElement with Int32 instead of Int64 for i8. * Added methods to get verifcation, intermediate and reduced type. * Fix for issue 4357. * Fix for issue #4358.
2017-08-17[ILVerify] Implement switch instruction (#4328)Samuel Arzt
* Added value pop for switch instruction. * Added switch instruction tests and todos for jump target verification. * Added branch target verification with test cases. * Moved switch test cases into seperate file. * Refactored switch/branch tests to use meaningful labels and not use locals.
2017-08-11Fixed ILVerify build (#4307)Michael Mayr
2017-08-10[ILVerify] Implement shift operation verification. (#4301)Samuel Arzt
2017-08-09[ILVerify] Added console argument to support different base library names ↵Samuel Arzt
(#3570) (#4291) * Add additional command line argument to support different system module names (#3570) * Added shortcut for system-module command. * Adjusted option help descriptions and changed system-module default value initialization.
2017-07-05[ILVerify] Fixed bugs ImportLoadIndirect/ImportStoreIndirect (#4066)Michael Mayr
* Use normalized stack value for assignability check in ImportStoreIndirect * Push actual type onto stack in ImportLoadIndirect - fixes #3999 * Added object ref check for ldind.ref + test
2017-07-03[ILVerify]Convert _thisType to managed pointer, if it is a value type (#4055)Michael Mayr
2017-07-03[ILVerify] Fixed range checks for nested exception regions (#4056)Michael Mayr
2017-07-01Fix handling of bad IL in ILScanner (#4044)Michal Strehovský
While the scanner is not trying to be an IL validator, we should at least not crash. * Update IL importer to provide hooks for bad IL (this is mostly to prevent it from crashing with IndexOutOfRangeExceptions). * Remove exception throwing from the shared ILImporter (while we might want to throw most of the time, ILVerify probably doesn't want to). * Do not crash when trying to determine static bases of instance fields. * Fix constrained method handling.