nccgroup / sobelow

Security-focused static analysis for the Phoenix Framework
Apache License 2.0
1.69k stars 95 forks source link

Utils.get_app_name/1 now understands the mod attr as application name #45

Closed am-kantox closed 5 years ago

am-kantox commented 5 years ago

Sometimes the application name is defined via the module attribute:

  @app :foo_bar
  def project do
    [
      app: @app
      ...

This PR makes Sobelow to understand this application name.

GriffinMB commented 5 years ago

Awesome, thanks for the PR!