Skip to content

Commit

Permalink
xoring with 0 again
Browse files Browse the repository at this point in the history
  • Loading branch information
alecmocatta authored and aidanhs committed Jan 12, 2017
1 parent 6779ef3 commit 49356d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Target/X86/MCTargetDesc/X86MCHadeanExpander.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ MCContext &MCOutputTargetStreamer::getContext() {
}

HadeanExpander::HadeanExpander() :
xorValue(0xf0f0f0f0f0f0f0f0) {
//xorValue(0) {
// xorValue(0xf0f0f0f0f0f0f0f0) {
xorValue(0) {
}

MCOutputTargetStreamer *MCOutputTargetStreamer::create(MCStreamer &streamer, MCSubtargetInfo &info) {
Expand Down Expand Up @@ -165,7 +165,7 @@ void HadeanExpander::emitValidatedJump(MCOutputTarget &out) {
// Backup scratch
emitPUSH64r(out, scratch);

const bool smarterObfuscation = true;
const bool smarterObfuscation = false;
if (!smarterObfuscation) {
// Decode the branch address
emitMOV64ri(out, scratch, xorValue);
Expand Down

0 comments on commit 49356d3

Please sign in to comment.