Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c8d154e

Browse files
C#: Fix dump of IR types
1 parent e30e163 commit c8d154e

2 files changed

Lines changed: 266 additions & 268 deletions

File tree

csharp/ql/src/semmle/code/csharp/ir/internal/CSharpType.qll

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,7 @@ private class CSharpGLValueAddressType extends CSharpWrappedType, TGLValueAddres
252252
*/
253253
private class CSharpFunctionAddressType extends CSharpType, TFunctionAddressType {
254254
override final string toString() {
255-
// result = "<funcaddr>" // FIXME
256-
result = "glval<null>"
255+
result = "<funcaddr>"
257256
}
258257

259258
override final IRFunctionAddressType getIRType() {
@@ -270,8 +269,7 @@ private class CSharpFunctionAddressType extends CSharpType, TFunctionAddressType
270269
*/
271270
private class CSharpUnknownType extends CSharpType, TUnknownType {
272271
override final string toString() {
273-
// result = "<unknown>" // FIXME
274-
result = "null"
272+
result = "<unknown>"
275273
}
276274

277275
override final IRUnknownType getIRType() {

0 commit comments

Comments
 (0)