PDA

View Full Version : EurekaLog and SoftwarePassport problem


DmitriPopov
19-Jul-2011, 08:39 AM
Hello!

I am using:
Delphi 2010
EurekaLog 6.1.01
SoftwarePassport 32bit 8.6

It seems like I am facing some kind of conflict between EurekaLog and SoftwarePassport. EurekaLog uses default options, with v.7. compiler option on. When I enable both EurekaLog and "Enable Memory-Patching Protection" in SoftwarePassport protected application shows AV error after 4-5 seconds of running (even without any actions from user's side). AV Message is not EurekaLog dialog, though any AV that occurs prior to it shows normal EurekaLog dialog. I have attached sample project with one button on the form.
I tried different options, but nothing seems to work. The only way is to disable EurekaLog or memory patching protection.

Is there any workaround of this problem?

DmitriPopov
19-Jul-2011, 08:44 AM
Sorry, that was wrong project file. The correct one doesnt fit forum restriction, so I can send it by email.

Alex
19-Jul-2011, 02:56 PM
Hi,

I highly doubt that EurekaLog will work with any "Enable Memory-Patching Protection"-like feature. That's because EurekaLog needs to install hooks on exception, which is... well, memory patching.

The strange thing is, however, that you see AV. I would expect a "Change/hack detected" message.

Anyway, this is unlikely to work right now.

DmitriPopov
19-Jul-2011, 05:07 PM
May be you should add some kind of compatibility notice then? :) In your FAQ it is said that "EurekaLog is FULLY compatible with exe compression/protection software, so you can use those tools without any restrictions."
In fact I just met one of this restrictions. Is there anything else I need to consider?

Alex
19-Jul-2011, 05:23 PM
Hi,

Example: "there is no restriction on dynamic array length". You should read this as "there is no restriction on dynamic array length, except obvious - not more than 2 Gb".

It's the same thing here. EurekaLog doesn't contain any specific restrictions regarding software protection products, unless they directly interfere with EurekaLog's function. For example, you can check integrity of .exe - that's ok.

You can't hook exception without setting hook. So, you can't do both at the same time: a) set hook, b) guarantee that hook isn't set. Either one or another, but not both at the same time.

If SoftwarePassport would offer some way to exclude EurekaLog's patches from checks - then it will ok. Otherwise - it will not work.

We're planning to remake this login in EurekaLog 7 for Delphi 2009+ - new Delphi version provides API to setup exception hooks, so no patch is required. However, doing so will lose CPU and assembler information. And, in any way, it still will be not possible for older Delphi.

DmitriPopov
19-Jul-2011, 05:49 PM
Well, I just don't have enough time to dive into details of implementations and how they interfere with each other. I need clear guidelines what to do and what not to do. If there's something like this issue between EL and SwP I need to know it before one of my potential customers stumble on this problem - just to add it as a test case. And there should be no "FULLY" (in uppercase) words about compatibility it it's not true.
But it seems like there's no list of incompatibilities between this specific products because they are "obvious".

Alex
22-Jul-2011, 05:26 PM
Hi,

That line was written long time ago. We've tested known protectors, there was no complains from customers, so we've placed "full support" label. That's all.

We're sorry for any inconveniences.