Released 14 April 2024.
- Fixed
TryGetLocalIndex
behavior forstloc(.s)
instructions.
Released 14 April 2024.
- Added methods to retrieve indexes of referenced local variables.
- Improved some XML docs.
Released 19 December 2023.
- Updated to Shrike 3.0.0.
- You can now do a lot of actions like
CreateLdlocInstruction
directly onElementMatch<CodeInstruction>
values. These methods will try to directly return values of correct types, or references to them viaObjectRef
/NullableObjectRef
/StructRef
/NullableStructRef
types. - Added a lot of missing
ILMatches
methods, likeLdflda
orLdcR4
. - Added additional
ILMatches
methods dealing withMethodBase
, which removes the need to dooriginalMethod.GetMethodBody()!.LocalVariables
manually.
Released 24 November 2023.
- Removed transitive Harmony dependency from the
Shrike.Harmony
package.
Released 23 November 2023.
- Fixed
ILMatches.Call
throwing on constructors.
Released 9 May 2023.
- Updated to Shrike 2.0.0.
- Renamed
ILMatches.MoveToLabel(Label label)
toILMatches.PointerMatcher(Label label)
. - Added
ILMatches.Ldsfld
andILMatches.Stsfld
. - Added
ILMatches.(Ldloc/Stloc/Ldloca)
overloads allowing matching local variable instructions by the local variable index or by referencing another instruction's local variable target. - Fixed the debug description for
ILMatches.Stfld()
matches.
Released 9 January 2023.
- Added
AddLabels
andExtractLabels
methods.
Released 8 January 2023.
- Updated to Shrike 1.0.1.
Released 18 December 2022.
- Initial release.