Open paxcut opened 3 months ago
So, this being an issue in the docs repo, I'd recommend only requesting that typenameof
be added to docs here, while the feature request that typenameof($)
returns the name of the input file be forwarded to pattern language repository.
The
Expressions
section on Pattern Language has a subsection for type operators wheresizeof
andaddressof
are introduced yet nothing is said abouttypenameof
. Maybe the reason is thattypenameof
is not defined as a provider operator (typenameof($)
returns an error).If
addressof($)
returns the base address of the input andsizeof($)
returns the size of the input maybetypenameof($)
should return the name of the input file which is kind of hard to get using the provider library function.