Nmap Development mailing list archives

Re: [NSE] Syntax error messages and help finding them.


From: Kris Katterjohn <katterjohn () gmail com>
Date: Wed, 06 Aug 2008 22:25:41 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brandon Enright wrote:
If these two messages could be combined I think it would be really
beneficial and especially so for users who are new to NSE scripting.

Regards,
jah


Yeah it sure would be nice to see semantic errors.  Even the line the
error occurred on (if the parser keeps that information from the lexer)
would be more useful than '[C]: ?'.  Perhaps Patrick or Diman can chime
in here?


Not to drag this thread completely off-topic (I don't know if this warrants a
new thread of its own), but what's going on with the NSE debugger?  That would
help (and has helped) with quite a few problems I've had, and would go great
with better error messages.  I sure hope it gets committed to /nmap soon ;)

Brandon


Thanks,
Kris Katterjohn

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBSJprM/9K37xXYl36AQLwrw//UbxI92qBMlVoRyWxL9cBcrD4XLCGb2Lc
qT5QXbraei9VMv1YtPsK0xvjuiDyxMAQdjXqXy6hSA5EshNi1ZXEbxIgFiRRkaSZ
n4BZguQdd8u7SAo6v9Tt+SoffPvaX2NigtVMvxDuY95usC5nFUzuBHnW71VjZWKZ
vAtglSZF+ECLw6UyQ7+kYrYmwn+mNKdTxLPiVWprvQD9fkI2dv4tjubuikvyd2Sb
tRQn4pMBxQsG6pDyvXvypgRZk8uCA0Z9DhPnQ8zmbAkdp1/Y2IafpQrP6hPiKdVr
CzDi2xoFVyZ32ec2cktqVYMWoMRKKcVhDdCWA+z6xtlurRyvb4tML/GuLR3WJudz
xMxNHE3qnammlo+1UvaSsWN+LiRmcdxDHoAmjfdLwictHp81fH8ZC/kC5KcKte5a
HSgr7lSEWWzI9PUaOAKmAJ1JG8FH7ZM1tXDc4Lg3JZCHx8Ri5D7+NHVMhaXZ9PDy
BJ9GW36Q8Vx7cNWX8yv0JYD6xsqSRaxU7jb+c9NNn6EuiB1wWIt+fIiQdrJuC2kR
Oziy8DqiR8TU0GmbgWqy6JudKQ234dZVuDHg+A82etBi7FfRjB907fdz3zR/HPNk
0s44JrlpA91OkpJYhiWddWqCUYwMsaHxw703DQAwF7iq6hGvt6z+cPKb5ZxvLAeF
fKRrFT61XIU=
=nNaB
-----END PGP SIGNATURE-----

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: