Query module ExposeRepresentation

name
Exposing internal representation
description
An object that accidentally exposes its internal representation may allow the object’s fields to be modified in ways that the object is not prepared to handle.
kind
problem
problem.severity
recommendation
precision
high
id
java/internal-representation-exposure
tags
reliability maintainability modularity external/cwe/cwe-485

Imports

DefUse

Provides classes and predicates for def-use and use-use pairs. Built on top of the SSA library for maximal precision.

java

Provides all default Java QL imports.

Predicates