473,397 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Obfuscation

Is it possible to perform obfuscation on code automatically as part of a
build in Visual Studio 2003?

For example, instead of building code in release mode, is it possible to
create a custom build configuration that will build the code in release mode
and then call an obfuscation program to obfuscate the newly built code?

Ideally what im looking for is a way to integrate obfuscation into the build
process so that when I create my setup program I can just point it to the
output of my other project, which I know will spit out obfuscated code once
its compiled.

Im pretty new to obfuscation so any help on the above, or suggestions or
ideas on how other people tackle this problem would be greatly welcomed.

Thanks in advance!
Feb 2 '06 #1
3 2088
There are ways to actually add Post-build commands. It can be done using the
Build Events Properties.

--
Rgds,
Anand
VB.NET MVP
http://www.dotnetindia.com
"..:: Kevin ::.." wrote:
Is it possible to perform obfuscation on code automatically as part of a
build in Visual Studio 2003?

For example, instead of building code in release mode, is it possible to
create a custom build configuration that will build the code in release mode
and then call an obfuscation program to obfuscate the newly built code?

Ideally what im looking for is a way to integrate obfuscation into the build
process so that when I create my setup program I can just point it to the
output of my other project, which I know will spit out obfuscated code once
its compiled.

Im pretty new to obfuscation so any help on the above, or suggestions or
ideas on how other people tackle this problem would be greatly welcomed.

Thanks in advance!

Feb 2 '06 #2
Unfortunately, Build events are not implemented in VB 2002/2003. They
are only present for C#. VS 2005 adds support also for VB. You can
download PrePostBuildRules Add-in which enables pre/post-build events.
Download it directly from MS
http://www.microsoft.com/downloads/d...displaylang=en

Then you can define command line arguments to perform after or before build.

--
Peter Macej
Helixoft - http://www.vbdocman.com
VBdocman - Automatic generator of technical documentation for VB, VB
..NET and ASP .NET code
Feb 2 '06 #3
Hi Kevin,

Obfuscator companies sell different editions, and typically the basic
edition does not integrate with VS builds but the advanced edition does.
See, for example:

http://www.dotfuscator.com/products/.../Editions.html

That said, with any edition you can always create a script to make the build
from the command line using devenv.exe /build, etc. and then obfuscate the
assembly.

There are also 3rd party products such as www.FinalBuilder.com that take
care of building the exe and obfuscating it using friendly tools instead of
forcing you to write a .bat/.vbs script.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
"..:: Kevin ::.." <Ke***@discussions.microsoft.com> escribió en el mensaje
news:38**********************************@microsof t.com...
Is it possible to perform obfuscation on code automatically as part of a
build in Visual Studio 2003?

For example, instead of building code in release mode, is it possible to
create a custom build configuration that will build the code in release
mode
and then call an obfuscation program to obfuscate the newly built code?

Ideally what im looking for is a way to integrate obfuscation into the
build
process so that when I create my setup program I can just point it to the
output of my other project, which I know will spit out obfuscated code
once
its compiled.

Im pretty new to obfuscation so any help on the above, or suggestions or
ideas on how other people tackle this problem would be greatly welcomed.

Thanks in advance!

Feb 2 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

159
by: petantik | last post by:
Are there any commercial, or otherwise obfuscators for python source code or byte code and what are their relative advantages or disadvantages. I wonder because there are some byte code protection...
13
by: vincent | last post by:
I made the suggestion "Need built in obfuscation support in C# compiler" to Microsoft. Anyone here agree with me? If yes, please cast your vote on this suggestion to raise its priority.
10
by: John T. | last post by:
Hi all Figure this scenario: - My Company develops an assembly (a controls DLL) - Since an obfuscation software is too expensive, my Company engages a consultant and delegates him the...
32
by: GK | last post by:
Hello, Can anybody suggest a best code obfuscation tool based on their exeperience ? (e.g.: testing effort after obfuscation is 0) thanks, GK
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.