forked from VSharp-team/VSharp
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat] Added more methods for ASP.NET
Signed-off-by: Arthur Alekseev <arthur100500@gmail.com>
- Loading branch information
1 parent
dee256b
commit dccac48
Showing
7 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
namespace VSharp.System | ||
|
||
open System.Reflection | ||
open global.System | ||
open VSharp.Core | ||
|
||
module internal Reflection = | ||
let getEntryAssembly (state : state) (_ : term list) = | ||
let m = Memory.EntryFunction state | ||
let asm = m.DeclaringType.Assembly | ||
Memory.ObjectToTerm state asm typeof<Assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace VSharp.System | ||
|
||
open global.System | ||
open VSharp | ||
open VSharp.Core | ||
|
||
module internal Reflection = | ||
[<Implements("System.Reflection.Assembly System.Reflection.Assembly.GetEntryAssembly()")>] | ||
val getEntryAssembly : state -> term list -> term |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters