<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>49576</bug_id>
          
          <creation_ts>2010-11-15 20:42:12 -0800</creation_ts>
          <short_desc>jsc does not ignore shebang</short_desc>
          <delta_ts>2025-09-27 17:06:08 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="John Tantalo">john.tantalo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>splash_library_8y</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>309559</commentid>
    <comment_count>0</comment_count>
      <attachid>73956</attachid>
    <who name="John Tantalo">john.tantalo</who>
    <bug_when>2010-11-15 20:42:12 -0800</bug_when>
    <thetext>Created attachment 73956
JavaScript source with shebang.

Various other JavaScript engines [1] correctly ignore a shebang [2] as the first line of a file. Invoking jsc with a source file that contains a shebang generates a lex error. It should instead ignore the shebang.

[1] nodejs, narwhal, ringo
[2] http://en.wikipedia.org/wiki/Shebang_(Unix)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>309564</commentid>
    <comment_count>1</comment_count>
      <attachid>73957</attachid>
    <who name="John Tantalo">john.tantalo</who>
    <bug_when>2010-11-15 20:55:41 -0800</bug_when>
    <thetext>Created attachment 73957
svn diff JavaScriptCore/parser/Lexer.cpp

I added a new character type for a hash, i.e., #, ASCII 35.

When this character was previously encountered, it would have immediately triggered a lexical error.

My change is to first check if this character is at the start of the line. If not, it is an error.

Next, I check if the next character is a bang, i.e,. !, ASCII 33. If it is, then the rest of the line is treated as a comment. If not, then it is an error.

Since the hash character was previously illegal, the only potential danger of this patch is that source which previously failed to lex may now be executed

This patch does not enforce that the shebang occurs on the first line of the source. Any occurrence of a hash other than the first character of the source should be illegal. I don&apos;t know how to do this, so I will submit my current patch as a viable solution to the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>309579</commentid>
    <comment_count>2</comment_count>
      <attachid>73960</attachid>
    <who name="John Tantalo">john.tantalo</who>
    <bug_when>2010-11-15 21:49:31 -0800</bug_when>
    <thetext>Created attachment 73960
proposed patch

Replaced diff with a real patch, with a test, changelog, and correct style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>309824</commentid>
    <comment_count>3</comment_count>
      <attachid>73960</attachid>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2010-11-16 10:58:58 -0800</bug_when>
    <thetext>Comment on attachment 73960
proposed patch

I think you&apos;ve made this change at the wrong level of abstraction. Accounting for shebang in the lexer applies this Unix-only rule to all web pages and operating systems.

I think a better fix would be for the jsc tool itself to strip out shebang before evaluating a source file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>309837</commentid>
    <comment_count>4</comment_count>
      <attachid>74017</attachid>
    <who name="John Tantalo">john.tantalo</who>
    <bug_when>2010-11-16 11:18:27 -0800</bug_when>
    <thetext>Created attachment 74017
proposed patch

This patch modifies jsc&apos;s file load function to detect a shebang in the first two characters of the file buffer. If it finds a shebang, it replaces it with &quot;//&quot;, which causes the rest of the line to be interpreted as a JavaScript comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>314536</commentid>
    <comment_count>5</comment_count>
      <attachid>74017</attachid>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2010-11-29 11:40:03 -0800</bug_when>
    <thetext>Comment on attachment 74017
proposed patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>317712</commentid>
    <comment_count>6</comment_count>
      <attachid>74017</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-12-06 10:47:50 -0800</bug_when>
    <thetext>Comment on attachment 74017
proposed patch

Clearing flags on attachment: 74017

Committed r73377: &lt;http://trac.webkit.org/changeset/73377&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>317713</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-12-06 10:47:56 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2146527</commentid>
    <comment_count>8</comment_count>
    <who name="">splash_library_8y</who>
    <bug_when>2025-09-27 17:06:08 -0700</bug_when>
    <thetext>When a script is run with jsc in the shebang it can&apos;t receive arguments due to jsc needing &apos;--&apos; before arguments and the file is passed at the end of the command when running a file with a shebang. You can technically just put -- before the arguments but it would make more sense to be able to run without that. A new flag to simply read the first thing after it as the file and everything else after the file as arguments might be sufficient as a solution.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>73956</attachid>
            <date>2010-11-15 20:42:12 -0800</date>
            <delta_ts>2010-11-15 20:42:12 -0800</delta_ts>
            <desc>JavaScript source with shebang.</desc>
            <filename>test.js</filename>
            <type>text/javascript</type>
            <size>32</size>
            <attacher name="John Tantalo">john.tantalo</attacher>
            
              <data encoding="base64">IyEgL3Vzci9sb2NhbC9iaW4vanNjCnByaW50KDEpOwo=
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>73957</attachid>
            <date>2010-11-15 20:55:41 -0800</date>
            <delta_ts>2010-11-15 21:49:31 -0800</delta_ts>
            <desc>svn diff JavaScriptCore/parser/Lexer.cpp</desc>
            <filename>Lexer.cpp.diff</filename>
            <type>text/plain</type>
            <size>1625</size>
            <attacher name="John Tantalo">john.tantalo</attacher>
            
              <data encoding="base64">SW5kZXg6IEphdmFTY3JpcHRDb3JlL3BhcnNlci9MZXhlci5jcHAKPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gSmF2
YVNjcmlwdENvcmUvcGFyc2VyL0xleGVyLmNwcAkocmV2aXNpb24gNzIwNDQpCisrKyBKYXZhU2Ny
aXB0Q29yZS9wYXJzZXIvTGV4ZXIuY3BwCSh3b3JraW5nIGNvcHkpCkBAIC0zLDYgKzMsNyBAQAog
ICogIENvcHlyaWdodCAoQykgMjAwNiwgMjAwNywgMjAwOCwgMjAwOSBBcHBsZSBJbmMuIEFsbCBS
aWdodHMgUmVzZXJ2ZWQuCiAgKiAgQ29weXJpZ2h0IChDKSAyMDA3IENhbWVyb24gWndhcmljaCAo
Y3d6d2FyaWNoQHV3YXRlcmxvby5jYSkKICAqICBDb3B5cmlnaHQgKEMpIDIwMTAgWm9sdGFuIEhl
cmN6ZWcgKHpoZXJjemVnQGluZi51LXN6ZWdlZC5odSkKKyAqICBDb3B5cmlnaHQgKEMpIDIwMTAg
Sm9obiBUYW50YWxvIChqb2huLnRhbnRhbG9AZ21haWwuY29tKQogICoKICAqICBUaGlzIGxpYnJh
cnkgaXMgZnJlZSBzb2Z0d2FyZTsgeW91IGNhbiByZWRpc3RyaWJ1dGUgaXQgYW5kL29yCiAgKiAg
bW9kaWZ5IGl0IHVuZGVyIHRoZSB0ZXJtcyBvZiB0aGUgR05VIExpYnJhcnkgR2VuZXJhbCBQdWJs
aWMKQEAgLTY3LDYgKzY4LDcgQEAKICAgICBDaGFyYWN0ZXJRdWVzdGlvbiwKICAgICBDaGFyYWN0
ZXJUaWxkZSwKICAgICBDaGFyYWN0ZXJRdW90ZSwKKyAgICBDaGFyYWN0ZXJIYXNoLAogICAgIENo
YXJhY3RlckRvdCwKICAgICBDaGFyYWN0ZXJTbGFzaCwKICAgICBDaGFyYWN0ZXJCYWNrU2xhc2gs
CkBAIC0xMjYsNyArMTI4LDcgQEAKIC8qICAzMiAtIFNwYWNlICAgICAgICAgICAgICAqLyBDaGFy
YWN0ZXJXaGl0ZVNwYWNlLAogLyogIDMzIC0gISAgICAgICAgICAgICAgICAgICovIENoYXJhY3Rl
ckV4Y2xhbWF0aW9uTWFyaywKIC8qICAzNCAtICIgICAgICAgICAgICAgICAgICAqLyBDaGFyYWN0
ZXJRdW90ZSwKLS8qICAzNSAtICMgICAgICAgICAgICAgICAgICAqLyBDaGFyYWN0ZXJJbnZhbGlk
LAorLyogIDM1IC0gIyAgICAgICAgICAgICAgICAgICovIENoYXJhY3Rlckhhc2gsCiAvKiAgMzYg
LSAkICAgICAgICAgICAgICAgICAgKi8gQ2hhcmFjdGVySWRlbnRpZmllclN0YXJ0LAogLyogIDM3
IC0gJSAgICAgICAgICAgICAgICAgICovIENoYXJhY3Rlck1vZHVsbywKIC8qICAzOCAtICYgICAg
ICAgICAgICAgICAgICAqLyBDaGFyYWN0ZXJBbmQsCkBAIC0xMDI5LDYgKzEwMzEsMTYgQEAKICAg
ICAgICAgbV9hdExpbmVTdGFydCA9IHRydWU7CiAgICAgICAgIG1fdGVybWluYXRvciA9IHRydWU7
CiAgICAgICAgIGdvdG8gc3RhcnQ7CisgICAgY2FzZSBDaGFyYWN0ZXJIYXNoOgorICAgICAgaWYg
KCFtX2F0TGluZVN0YXJ0KSB7CisgICAgICAgIGdvdG8gcmV0dXJuRXJyb3I7CisgICAgICB9Cisg
ICAgICBzaGlmdCgpOworICAgICAgaWYgKG1fY3VycmVudCA9PSAnIScpIHsKKyAgICAgICAgc2hp
ZnQoKTsKKyAgICAgICAgZ290byBpblNpbmdsZUxpbmVDb21tZW50OworICAgICAgfQorCSAgICBn
b3RvIHJldHVybkVycm9yOwogICAgIGNhc2UgQ2hhcmFjdGVySW52YWxpZDoKICAgICAgICAgZ290
byByZXR1cm5FcnJvcjsKICAgICBkZWZhdWx0Ogo=
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>73960</attachid>
            <date>2010-11-15 21:49:31 -0800</date>
            <delta_ts>2010-11-16 11:18:27 -0800</delta_ts>
            <desc>proposed patch</desc>
            <filename>patch.txt</filename>
            <type>text/plain</type>
            <size>2745</size>
            <attacher name="John Tantalo">john.tantalo</attacher>
            
              <data encoding="base64">SW5kZXg6IEphdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBKYXZhU2NyaXB0
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDcyMDYyKQorKysgSmF2YVNjcmlwdENvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTQgQEAKKzIwMTAtMTEtMTUgIEpvaG4gVGFu
dGFsbyAgPGpvaG4udGFudGFsb0BnbWFpbC5jb20+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9C
T0RZIChPT1BTISkuCisKKyAgICAgICAganNjIGRvZXMgbm90IGlnbm9yZSBzaGViYW5nCisgICAg
ICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD00OTU3NgorCisgICAg
ICAgICogQVBJL3Rlc3RzL3Rlc3RhcGkuanM6CisgICAgICAgICogcGFyc2VyL0xleGVyLmNwcDoK
KyAgICAgICAgKEpTQzo6TGV4ZXI6OmxleCk6CisKIDIwMTAtMTEtMTUgIEdhdmluIEJhcnJhY2xv
dWdoICA8YmFycmFjbG91Z2hAYXBwbGUuY29tPgogCiAgICAgICAgIFJldmlld2VkIGJ5IEdlb2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ydCwKIC8qICAzNyAt
ICUgICAgICAgICAgICAgICAgICAqLyBDaGFyYWN0ZXJNb2R1bG8sCiAvKiAgMzggLSAmICAgICAg
ICAgICAgICAgICAgKi8gQ2hhcmFjdGVyQW5kLApAQCAtMTAyOSw2ICsxMDMxLDE1IEBAIGluTnVt
YmVyQWZ0ZXJEZWNpbWFsUG9pbnQ6CiAgICAgICAgIG1fYXRMaW5lU3RhcnQgPSB0cnVlOwogICAg
ICAgICBtX3Rlcm1pbmF0b3IgPSB0cnVlOwogICAgICAgICBnb3RvIHN0YXJ0OworICAgIGNhc2Ug
Q2hhcmFjdGVySGFzaDoKKyAgICAgICAgaWYgKCFtX2F0TGluZVN0YXJ0KQorICAgICAgICAgICAg
Z290byByZXR1cm5FcnJvcjsKKyAgICAgICAgc2hpZnQoKTsKKyAgICAgICAgaWYgKG1fY3VycmVu
dCA9PSAnIScpIHsKKyAgICAgICAgICAgIHNoaWZ0KCk7CisgICAgICAgICAgICBnb3RvIGluU2lu
Z2xlTGluZUNvbW1lbnQ7CisgICAgICAgIH0KKyAgICAgICAgZ290byByZXR1cm5FcnJvcjsKICAg
ICBjYXNlIENoYXJhY3RlckludmFsaWQ6CiAgICAgICAgIGdvdG8gcmV0dXJuRXJyb3I7CiAgICAg
ZGVmYXVsdDoK
</data>
<flag name="review"
          id="64494"
          type_id="1"
          status="-"
          setter="ggaren"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>74017</attachid>
            <date>2010-11-16 11:18:27 -0800</date>
            <delta_ts>2010-12-06 10:47:49 -0800</delta_ts>
            <desc>proposed patch</desc>
            <filename>patch.txt</filename>
            <type>text/plain</type>
            <size>1026</size>
            <attacher name="John Tantalo">john.tantalo</attacher>
            
              <data encoding="base64">SW5kZXg6IEphdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09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CiAKKyAgICBpZiAoYnVmZmVyWzBdID09ICcjJyAmJiBidWZmZXJbMV0gPT0gJyEnKQorICAg
ICAgICBidWZmZXJbMF0gPSBidWZmZXJbMV0gPSAnLyc7CisKICAgICByZXR1cm4gdHJ1ZTsKIH0K
</data>

          </attachment>
      

    </bug>

</bugzilla>