[antlr-interest] Noob question
    Thomas Raef 
    TRaef at wewatchyourwebsite.com
       
    Thu Feb  4 05:33:21 PST 2010
    
    
  
I did look at Rhino, but all I want is to separate the various functions
and declarations in a javascript file for further processing. I need to
isolate the possible malscript from a large, mostly valid, .js file.
 
Thomas J. Raef
 
From: Scott Stanchfield [mailto:scott at javadude.com] 
Sent: Thursday, February 04, 2010 7:05 AM
To: Thomas Raef
Cc: antlr-interest at antlr.org
Subject: Re: [antlr-interest] Noob question
 
You may want to look at using the parser in Rhino for this - I haven't
looked atbits code, but that might be a good starting point...
-- Scott
	On Feb 4, 2010 7:16 AM, "Thomas Raef"
<TRaef at wewatchyourwebsite.com> wrote:
	
	I want to use ANTLR to parse potentially malicious javascript
files. The
	files in question have a string or strings embedded in them that
don't
	cause the javascript file to error, but I do want to separate
each
	function or declaration in the .js file into an individual
string, then
	I'll process them to see if they are malicious or not.
	
	
	
	Is this the right tool? And if so, is there anyone who can point
me in
	the right direction to get started? I know it's a very noob
question,
	but I've been trying different tools and failing at each one.
	
	
	
	Can anyone "hook a brother up?"
	
	
	
	Thank you in advance
	
	
	
	Thomas J. Raef
	
	
	
	
	List: http://www.antlr.org/mailman/listinfo/antlr-interest
	Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
    
    
More information about the antlr-interest
mailing list