Re: WASM reverse engineering protection

2021-04-28 Thread Mehaboob kk
Hello,
Appreciate your help. Thanks for your response.

-Mehaboob

On Wed, Apr 14, 2021 at 8:22 PM J Decker  wrote:

> If code can be run, it can be reverse engineered; just a matter of how
> much work one wants to put into it.
> If the code was compressed, and encrypted, then there'd still be a small
> bit code that has the decrypt, which can be extracted to get the rest, etc.
> Remote checking is a better option; requiring a bit of external code that
> encodes the license in a varying way, for submission to the server, which
> might reply with some small code which enables it to actually function.
> Of course - the really diligent would still just capture the reply and
> bundle it all up statically.
>
> It's just a matter of how much time you want to make them spend... but
> much like a lock that can be opened can be picked, code that runs can be
> 'run' virtually, using just pen and paper.
>
> On Wed, Apr 14, 2021 at 12:43 PM Mehaboob kk  wrote:
>
>> Hello All,
>>
>> Is there any technique to protect the WASM code from reverse engineering?
>> I have a licensed software which need to be protected. I am worried that
>> the reverse engineered code can be modified to bypass the license and
>> compile it back again
>>
>> Any inputs please
>>
>> Thanks,
>> Mehaboob
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "emscripten-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to emscripten-discuss+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/emscripten-discuss/d9c09212-cad8-40e1-ba4c-88979f8437a2n%40googlegroups.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to emscripten-discuss+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/CAA2GJqWtWBgix7K3VYT7NiUmRW4R%3DMHKsy570GiX_K7uhCbovA%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAO5iXcB_S6GvA2H-4DLE%3DbWnvJ4PcLXWbD6ArEV-BxS4-zZ2NQ%40mail.gmail.com.


Re: Using custom libs .a files

2021-04-28 Thread Mehaboob kk
Hi Thomas,

Thanks for your input, I was referring to the Using Libraries section here
https://emscripten.org/docs/compiling/Building-Projects.html#using-libraries


Thanks,
Mehaboob



On Wed, Apr 14, 2021 at 4:14 PM 'Thomas Lively' via emscripten-discuss <
emscripten-discuss@googlegroups.com> wrote:

> Hi Mehaboob,
>
> No, Emscripten cannot compile native objects or archive files to
> WebAssembly. Perhaps what you saw was a reference to archive files
> containing WebAssembly objects produced by Emscripten?
>
> Thomas
>
> On Wed, Apr 14, 2021 at 12:45 Mehaboob kk  wrote:
>
>> Hello All,
>>
>> I see that Emscripton allows to compile .a files to wasm. In order for
>> this to work the .a file need to be originally compiled using gcc? if yes,
>> any specific version to be compatible?
>>
>> Thanks,
>> Mehaboob
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "emscripten-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to emscripten-discuss+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/emscripten-discuss/ee46348f-db22-406d-b85d-7dae3aa57e8an%40googlegroups.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "emscripten-discuss" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/emscripten-discuss/5-IfzGR_ioQ/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> emscripten-discuss+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/CAJZD_EUz2Mkh3S1%2Bh7iGox2Pk3KZWOvMKOrr8a7sNSoZyG7rnw%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAO5iXcAPy%2BRLggy1p4mk7RRBQLh8WjZcUQ927D3XtFwk_JCuVw%40mail.gmail.com.


Re: Using custom libs .a files

2021-04-28 Thread 'Sam Clegg' via emscripten-discuss
On Wed, Apr 28, 2021 at 3:30 PM Mehaboob kk  wrote:

> Hi Thomas,
>
> Thanks for your input, I was referring to the Using Libraries section here
> https://emscripten.org/docs/compiling/Building-Projects.html#using-libraries
>
>
>
 As Thomas says, you can't use native object files with emscripten, so you
don't need gcc at all.  All the instructions one that page refer to
building libraries with the emcc compiler.   When you use emcmake and
emconfigure it configures your project to use emcc rather than any
host/local compiler.

cheers,
sam

Thanks,
> Mehaboob
>
>
>
> On Wed, Apr 14, 2021 at 4:14 PM 'Thomas Lively' via emscripten-discuss <
> emscripten-discuss@googlegroups.com> wrote:
>
>> Hi Mehaboob,
>>
>> No, Emscripten cannot compile native objects or archive files to
>> WebAssembly. Perhaps what you saw was a reference to archive files
>> containing WebAssembly objects produced by Emscripten?
>>
>> Thomas
>>
>> On Wed, Apr 14, 2021 at 12:45 Mehaboob kk  wrote:
>>
>>> Hello All,
>>>
>>> I see that Emscripton allows to compile .a files to wasm. In order for
>>> this to work the .a file need to be originally compiled using gcc? if yes,
>>> any specific version to be compatible?
>>>
>>> Thanks,
>>> Mehaboob
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "emscripten-discuss" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to emscripten-discuss+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/emscripten-discuss/ee46348f-db22-406d-b85d-7dae3aa57e8an%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "emscripten-discuss" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/emscripten-discuss/5-IfzGR_ioQ/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> emscripten-discuss+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/emscripten-discuss/CAJZD_EUz2Mkh3S1%2Bh7iGox2Pk3KZWOvMKOrr8a7sNSoZyG7rnw%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to emscripten-discuss+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/CAO5iXcAPy%2BRLggy1p4mk7RRBQLh8WjZcUQ927D3XtFwk_JCuVw%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAL_va2-RZ6HqOs1ruqrqM%2BtkCaeJ2gQtYV6Rgk4kMyRw3Dxt%3Dw%40mail.gmail.com.