Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #22282

Re: Tools for refactoring/obfuscation

Path csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail
From Javier <nospam@nospam.com>
Newsgroups comp.lang.python
Subject Re: Tools for refactoring/obfuscation
Date Wed, 28 Mar 2012 16:04:06 +0000 (UTC)
Organization Aioe.org NNTP Server
Lines 39
Message-ID <jkvcpm$boh$1@speranza.aioe.org> (permalink)
References <jj6kmc$7vb$1@speranza.aioe.org> <mailman.1028.1332813076.3037.python-list@python.org>
NNTP-Posting-Host I9Jfk9MbvsupUAg1UP5ewQ.user.speranza.aioe.org
X-Complaints-To abuse@aioe.org
User-Agent tin/2.1.0-20111224 ("Bridgend") (UNIX) (Linux/3.1.0-1-686-pae (i686))
X-Notice Filtered by postfilter v. 0.8.2
Xref csiph.com comp.lang.python:22282

Show key headers only | View raw


Yes, in general I follow clear guidelines for writing code.  I just use
modules with functions in the same directory and clear use of name
spaces. I almost never use classes.  I wonder if you use some tool for
refactoring.  I am mainly intersted in scripting tools, no eclipse-style
guis.

Just let me know if you use some scripting tool.

And, as somebody pointed in this thread obfuscating or refactoring the
code are very different things but they can be done with the same tools.

Javier


Vladimir Ignatov <kmisoft@gmail.com> wrote:
> Hi,
> 
> (sorry for replying to the old topic)
> 
> On Tue, Mar 6, 2012 at 10:29 PM, Javier <nospam@nospam.com> wrote:
>> I am looking for an automated tool for refactoring/obfuscation.
>> Something that changes names of functions, variables, or which would
>> merge all the functions of various modules in a single module.
>> The closest I have seen is http://bicyclerepair.sourceforge.net/
>>
>> Does somebody know of something that can work from the command line or
>> simple data structures/text files?, like a python dictionary of functions
>> {"old":"new",...}
> 
> I am not surprised what nobody answers. I think that such tool is
> nearly impossible given the dynamic Python's nature.
> But if you put little discipline/restrictions in your source code,
> when doing obfuscation could be much more easier. Almost trivial I
> would say.
> 
> Javier, you can contact me directly if you are interested in this topic.
> 
> Vladimir Ignatov
> kmisoft at gmail com

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Tools for refactoring/obfuscation Javier <nospam@nospam.com> - 2012-03-07 03:29 +0000
  Re: Tools for refactoring/obfuscation Vladimir Ignatov <kmisoft@gmail.com> - 2012-03-26 21:51 -0400
    Re: Tools for refactoring/obfuscation Javier <nospam@nospam.com> - 2012-03-28 16:04 +0000
      Re: Tools for refactoring/obfuscation Lie Ryan <lie.1296@gmail.com> - 2012-03-31 16:18 +1100
        Re: Tools for refactoring/obfuscation Javier <nospam@nospam.com> - 2012-04-02 14:09 +0000
  Re: Tools for refactoring/obfuscation Stefan Behnel <stefan_ml@behnel.de> - 2012-03-27 15:12 +0200

csiph-web