Main Site Documentation

Deploying an Obfuscated Assembly


#1

Hello, I recently started to looking at obfuscation and am trying to figure out how to deploy an obfuscated version of my projects assembly to my Fez Raptor Dev board, I’m using Babel Obfuscator which basically creates the Obfuscated assembly in a Babel folder inside my projects bin folder, my question is, how do I deploy this assembly rather than the unobfuscated assembly to my Dev Board?


#2

Hmmm, says here that it is supported, https://babelfor.net/products/obfuscator


#3

MFDeploy?


#4

@ chillydk147 - VS is the only way I know of to get a program onto the device initially. If I remember directly, VS deploys the pe files to the device, not the DLLs. Does Babel output obfuscated PE files to that folder? I was able to find nothing on their site about NETMF except a few statements that it is supported.


#5

@ John, hi, Babel creates a folder inside my projects bin called BabelOut, see image, there is a Tab within the Fez Config application called Deployment which gives the option of writing a Hex File, would it be a case of somehow converting my dll/exe to .hex and using this Application


#6

@ chillydk147 - What is inside the Babel folder? Both FEZ Config and MFDeploy can only deploy hex files. The only way I know of to get hex files is to read an application from the board after it has been deployed.


#7

@ John - Inside the BabelOut folder is a Gadgeteer.dll file, the obfuscated version


#8

@ chillydk147 - Unless there is more documentation on NETMF support on their site, I do not think you can get that DLL onto the device.

You can try replacing the existing DLL with the one from the Babel folder and just do a deploy from VS. It might not do a build.


#9

@ John - I tried this, it always overwrites the obfuscated dll, so it must be doing a build before it deploys


#10

@ chillydk147 - I do not think it is possible then. Do you know of any NETMF specific documentation on their site?


#11

Unfortunately there doesn’t seem to be