Add isValidResourceKeyName()
This commit is contained in:
parent
2761216e39
commit
83725200c1
|
@ -745,6 +745,10 @@ namespace de4dot.code.deobfuscators {
|
||||||
return name != null && checkValidName(name);
|
return name != null && checkValidName(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public virtual bool isValidResourceKeyName(string name) {
|
||||||
|
return name != null && checkValidName(name);
|
||||||
|
}
|
||||||
|
|
||||||
public virtual void OnBeforeAddingResources(MetadataBuilder builder) {
|
public virtual void OnBeforeAddingResources(MetadataBuilder builder) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -218,6 +218,10 @@ namespace de4dot.code.deobfuscators.dotNET_Reactor.v3 {
|
||||||
return name != null && checkValidName(name, isRandomNameMembers);
|
return name != null && checkValidName(name, isRandomNameMembers);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override bool isValidResourceKeyName(string name) {
|
||||||
|
return name != null && checkValidName(name, isRandomNameMembers);
|
||||||
|
}
|
||||||
|
|
||||||
protected override int detectInternal() {
|
protected override int detectInternal() {
|
||||||
int val = 0;
|
int val = 0;
|
||||||
|
|
||||||
|
|
|
@ -222,6 +222,10 @@ namespace de4dot.code.deobfuscators.dotNET_Reactor.v4 {
|
||||||
return name != null && checkValidName(name, isRandomNameMembers);
|
return name != null && checkValidName(name, isRandomNameMembers);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override bool isValidResourceKeyName(string name) {
|
||||||
|
return name != null && checkValidName(name, isRandomNameMembers);
|
||||||
|
}
|
||||||
|
|
||||||
protected override int detectInternal() {
|
protected override int detectInternal() {
|
||||||
int val = 0;
|
int val = 0;
|
||||||
|
|
||||||
|
|
|
@ -27,5 +27,6 @@ namespace de4dot.code.renamer {
|
||||||
bool isValidFieldName(string name);
|
bool isValidFieldName(string name);
|
||||||
bool isValidGenericParamName(string name);
|
bool isValidGenericParamName(string name);
|
||||||
bool isValidMethodArgName(string name);
|
bool isValidMethodArgName(string name);
|
||||||
|
bool isValidResourceKeyName(string name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user