Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions HighLevelIL/AbstractHighLevelILUnaryInstruction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,13 @@ public HighLevelILInstruction Source
return this.GetOperandAsExpression(0);
}
}

public HighLevelILInstruction Left
{
get
{
return this.Source;
}
}
}
}
13 changes: 13 additions & 0 deletions HighLevelIL/HLILArithmeticShiftRightCanonical.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
namespace BinaryNinja
{
public class HLILArithmeticShiftRight : AbstractHighLevelILBinaryInstruction
{
internal HLILArithmeticShiftRight(
HighLevelILFunction ilFunction,
HighLevelILExpressionIndex expressionIndex,
BNHighLevelILInstruction native)
: base(ilFunction, expressionIndex, native)
{
}
}
}
9 changes: 1 addition & 8 deletions HighLevelIL/HLILBoolToInt.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace BinaryNinja
{
public sealed class HLILBoolToInt : HighLevelILInstruction
public sealed class HLILBoolToInt : AbstractHighLevelILUnaryInstruction
{
internal HLILBoolToInt(
HighLevelILFunction ilFunction,
Expand All @@ -11,12 +11,5 @@ BNHighLevelILInstruction native

}

public HighLevelILInstruction Left
{
get
{
return this.GetOperandAsExpression(0);
}
}
}
}
9 changes: 1 addition & 8 deletions HighLevelIL/HLILCeil.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace BinaryNinja
{
public sealed class HLILCeil : HighLevelILInstruction
public sealed class HLILCeil : AbstractHighLevelILUnaryInstruction
{
internal HLILCeil(
HighLevelILFunction ilFunction,
Expand All @@ -11,12 +11,5 @@ BNHighLevelILInstruction native

}

public HighLevelILInstruction Left
{
get
{
return this.GetOperandAsExpression(0);
}
}
}
}
9 changes: 1 addition & 8 deletions HighLevelIL/HLILFloatAbs.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace BinaryNinja
{
public sealed class HLILFloatAbs : HighLevelILInstruction
public sealed class HLILFloatAbs : AbstractHighLevelILUnaryInstruction
{
internal HLILFloatAbs(
HighLevelILFunction ilFunction,
Expand All @@ -11,12 +11,5 @@ BNHighLevelILInstruction native

}

public HighLevelILInstruction Left
{
get
{
return this.GetOperandAsExpression(0);
}
}
}
}
9 changes: 1 addition & 8 deletions HighLevelIL/HLILFloatConvert.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace BinaryNinja
{
public sealed class HLILFloatConvert : HighLevelILInstruction
public sealed class HLILFloatConvert : AbstractHighLevelILUnaryInstruction
{
internal HLILFloatConvert(
HighLevelILFunction ilFunction,
Expand All @@ -11,12 +11,5 @@ BNHighLevelILInstruction native

}

public HighLevelILInstruction Left
{
get
{
return this.GetOperandAsExpression(0);
}
}
}
}
9 changes: 1 addition & 8 deletions HighLevelIL/HLILFloatNeg.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace BinaryNinja
{
public sealed class HLILFloatNeg : HighLevelILInstruction
public sealed class HLILFloatNeg : AbstractHighLevelILUnaryInstruction
{
internal HLILFloatNeg(
HighLevelILFunction ilFunction,
Expand All @@ -11,12 +11,5 @@ BNHighLevelILInstruction native

}

public HighLevelILInstruction Left
{
get
{
return this.GetOperandAsExpression(0);
}
}
}
}
9 changes: 1 addition & 8 deletions HighLevelIL/HLILFloatSquareRoot.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace BinaryNinja
{
public sealed class HLILFloatSquareRoot : HighLevelILInstruction
public sealed class HLILFloatSquareRoot : AbstractHighLevelILUnaryInstruction
{
internal HLILFloatSquareRoot(
HighLevelILFunction ilFunction,
Expand All @@ -11,12 +11,5 @@ BNHighLevelILInstruction native

}

public HighLevelILInstruction Left
{
get
{
return this.GetOperandAsExpression(0);
}
}
}
}
9 changes: 1 addition & 8 deletions HighLevelIL/HLILFloatToInt.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace BinaryNinja
{
public sealed class HLILFloatToInt : HighLevelILInstruction
public sealed class HLILFloatToInt : AbstractHighLevelILUnaryInstruction
{
internal HLILFloatToInt(
HighLevelILFunction ilFunction,
Expand All @@ -11,12 +11,5 @@ BNHighLevelILInstruction native

}

public HighLevelILInstruction Left
{
get
{
return this.GetOperandAsExpression(0);
}
}
}
}
9 changes: 1 addition & 8 deletions HighLevelIL/HLILFloatTrunc.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace BinaryNinja
{
public sealed class HLILFloatTrunc : HighLevelILInstruction
public sealed class HLILFloatTrunc : AbstractHighLevelILUnaryInstruction
{
internal HLILFloatTrunc(
HighLevelILFunction ilFunction,
Expand All @@ -11,12 +11,5 @@ BNHighLevelILInstruction native

}

public HighLevelILInstruction Left
{
get
{
return this.GetOperandAsExpression(0);
}
}
}
}
9 changes: 1 addition & 8 deletions HighLevelIL/HLILFloor.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace BinaryNinja
{
public sealed class HLILFloor : HighLevelILInstruction
public sealed class HLILFloor : AbstractHighLevelILUnaryInstruction
{
internal HLILFloor(
HighLevelILFunction ilFunction,
Expand All @@ -11,12 +11,5 @@ BNHighLevelILInstruction native

}

public HighLevelILInstruction Left
{
get
{
return this.GetOperandAsExpression(0);
}
}
}
}
9 changes: 1 addition & 8 deletions HighLevelIL/HLILIntToFloat.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace BinaryNinja
{
public sealed class HLILIntToFloat : HighLevelILInstruction
public sealed class HLILIntToFloat : AbstractHighLevelILUnaryInstruction
{
internal HLILIntToFloat(
HighLevelILFunction ilFunction,
Expand All @@ -11,12 +11,5 @@ BNHighLevelILInstruction native

}

public HighLevelILInstruction Left
{
get
{
return this.GetOperandAsExpression(0);
}
}
}
}
19 changes: 2 additions & 17 deletions HighLevelIL/HLILLogicalShiftLef.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
namespace BinaryNinja
{
public sealed class HLILLogicalShiftLef : HighLevelILInstruction
[System.Obsolete("Use HLILLogicalShiftLeft instead.")]
public sealed class HLILLogicalShiftLef : HLILLogicalShiftLeft
{
internal HLILLogicalShiftLef(
HighLevelILFunction ilFunction,
Expand All @@ -10,21 +11,5 @@ BNHighLevelILInstruction native
{

}

public HighLevelILInstruction Left
{
get
{
return this.GetOperandAsExpression(0);
}
}

public HighLevelILInstruction Right
{
get
{
return this.GetOperandAsExpression((OperandIndex)1);
}
}
}
}
13 changes: 13 additions & 0 deletions HighLevelIL/HLILLogicalShiftLeft.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
namespace BinaryNinja
{
public class HLILLogicalShiftLeft : AbstractHighLevelILBinaryInstruction
{
internal HLILLogicalShiftLeft(
HighLevelILFunction ilFunction,
HighLevelILExpressionIndex expressionIndex,
BNHighLevelILInstruction native)
: base(ilFunction, expressionIndex, native)
{
}
}
}
9 changes: 1 addition & 8 deletions HighLevelIL/HLILLowPart.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace BinaryNinja
{
public sealed class HLILLowPart : HighLevelILInstruction
public sealed class HLILLowPart : AbstractHighLevelILUnaryInstruction
{
internal HLILLowPart(
HighLevelILFunction ilFunction ,
Expand All @@ -11,12 +11,5 @@ BNHighLevelILInstruction native

}

public HighLevelILInstruction Left
{
get
{
return this.GetOperandAsExpression(0);
}
}
}
}
13 changes: 13 additions & 0 deletions HighLevelIL/HLILModSignedCanonical.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
namespace BinaryNinja
{
public class HLILModSigned : AbstractHighLevelILBinaryInstruction
{
internal HLILModSigned(
HighLevelILFunction ilFunction,
HighLevelILExpressionIndex expressionIndex,
BNHighLevelILInstruction native)
: base(ilFunction, expressionIndex, native)
{
}
}
}
9 changes: 1 addition & 8 deletions HighLevelIL/HLILNeg.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace BinaryNinja
{
public sealed class HLILNeg : HighLevelILInstruction
public sealed class HLILNeg : AbstractHighLevelILUnaryInstruction
{
internal HLILNeg(
HighLevelILFunction ilFunction,
Expand All @@ -11,12 +11,5 @@ BNHighLevelILInstruction native

}

public HighLevelILInstruction Left
{
get
{
return this.GetOperandAsExpression(0);
}
}
}
}
9 changes: 1 addition & 8 deletions HighLevelIL/HLILNot.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace BinaryNinja
{
public sealed class HLILNot : HighLevelILInstruction
public sealed class HLILNot : AbstractHighLevelILUnaryInstruction
{
internal HLILNot(
HighLevelILFunction ilFunction,
Expand All @@ -11,12 +11,5 @@ BNHighLevelILInstruction native

}

public HighLevelILInstruction Left
{
get
{
return this.GetOperandAsExpression(0);
}
}
}
}
9 changes: 1 addition & 8 deletions HighLevelIL/HLILRoundToInt.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace BinaryNinja
{
public sealed class HLILRoundToInt : HighLevelILInstruction
public sealed class HLILRoundToInt : AbstractHighLevelILUnaryInstruction
{
internal HLILRoundToInt(
HighLevelILFunction ilFunction,
Expand All @@ -11,12 +11,5 @@ BNHighLevelILInstruction native

}

public HighLevelILInstruction Left
{
get
{
return this.GetOperandAsExpression(0);
}
}
}
}
Loading
Loading