Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Protect from refox
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01062778
Message ID:
01064431
Views:
31
Hi Christof,

But you cannot do this if the stuff was compiled with encryption ON. Or can you?

>Hi Peter,
>
>>If you want to prove that it's easy, you have to do it without a tool like Refox. And a debugger, assembler and APIs are not easy tools for almost all of us.
>
>If you compile this program:
>
>  LOCAL lcName, lcZIP
>  ? lcName
>
>you get this FXP code (excerpt starting at position 0x50):
>
>
> 0x00000050 : 0B 00 AE F7 00 00 07 F7 01 00 FE 0A 00 02 F8 03    ..®÷...÷..þ...ø.
> 0x00000060 : 01 F7 00 00 FE 03 00 55 02 00 06 00 4C 43 4E 41    .÷..þ..U....LCNA
> 0x00000070 : 4D 45 05 00 4C 43 5A 49 50 B1 00 A1 00 31 00 00    ME..LCZIP±.¡.1..
>
>where the byte code can be interpreted as following (that's my interpretation based on a few variations of the code):
>
>
> 0B 00     length of first line (11 bytes)
> AE        code for the LOCAL statement
> F7        expression: a variable follows
> 00 00     variable #1 (lcName)
> 07        comma in list of parameters
> F7        another variable follows
> 01 00     variable #2 (lcZIP)
> FE        end of expression
>
> 0A 00     length of second line (10 bytes)
> 02 F8 03  code for the ? statement
> 01        number of parameters: 1
> F7        expression: a variable follows
> 00 00     Variable #1 (lcName)
> FE        end of expression
>
>Not sure if you consider this easy, but all tools you need come with VFP (HexEdit.app).
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform