Filter
Exclude
Time range
-
Near
Blogged: Making foreach of an IEnumerable allocation-free, using reflection and dynamic methods andrewlock.net/making-foreac… In this post I describe why foreach sometimes allocates, and show how you can use DynamicMethod and Reflection.Emit to go allocation-free #dotnet #csharp
3
8
38
3,169
Unfortunately, I have seen several samples in the wild (advanced first-stage loader) using this technique simple obfuscation AMSI Bypass via DInvoke. Advantage - NO direct references to “System.Reflection.Assembly.Load()” method #dotnet #reversing #malware #DynamicMethod
31 Jan 2023
[DynamicDotNet Tooling] Added a POC "Dynamic Assembly Loader" to the repo that loads and executes an assembly using a dynamic method and emitted MSIL instructions (C#). System.Reflection.Emit is quite powerful (maybe more to come in a future blog post) github.com/bohops/DynamicDot…
2
26
106
18,831
Replying to @dsymetweets
Well when such a use case does come up, it's a bit maddening to have to reach for a more complex DynamicMethod or IL weaver knowing that feature is already hiding in the compiler.
2
27 Mar 2022
It lookes like EVM->IL->ASM doesn't look that bad at all. Of course there are few things to optimize but still. Thank you @KooKiz for helping me with getting the ASM behind the dynamic method. @nethermind #Ethereum #dotnet #IL #DynamicMethod #transpile
2
5
25
26 Mar 2022
Replying to @Scooletz
Since .NET 5 you can dump the IL of a DynamicMethod with !dumpil, but I'm not sure how to jump to the native assembly from there 🤔 One way could be to create a delegate, locate it, then follow the jumps in the disassembly, but that's hard to automatize.
2
2
Athletes learning how to put intent into the bar using accommodating resistance #dynamicmethod #darkside #freakfactory @RecruitAzle
1
7
71
12 Jan 2021
JavaにおけるDynamic Proxy に相当することを.NET でやろうとすると、DynamicMethod を使わないといけないんでしょうか。ILを生成するのがダルいんですが。
1
Last speed day before hitting the big 5-RM!!! 315 felt like a rocket!!! Rate of force development is crucial for maximal effort ability!!! wenningstrength.com #wenning #bench #speed #dynamicmethod #powerlifting #powerbuilding instagr.am/p/CE67NxPl3ZV/
3
10 Jun 2020
Given that almost each test creates the expression tree and _compiles_ it to the DynamicMethod, I think the result is kinda neat.
1
1
15 Jan 2020
DynamicMethodとExpressions、dynamicどれがいいだろう,,,
1
3
23 Dec 2019
Replying to @Velaris84
Thanks! just DynamicMethod and ILGenerator and unsafe pointers. Works great and is very fast. Almost as fast as machine code. Standard WinForm that runs on Mono Linux too :)
1
24 Sep 2019
改めてDynamicMethodの凄さがわかりました はてなブログに投稿しました #はてなブログ C# BindingFlagsについて調べてみた話 - はかせのラボ hakase0274.hatenablog.com/en…

2
13 Sep 2019
「はかせは飛び道具を手に入れた」 はてなブログに投稿しました #はてなブログ IL C#のルールを超える禁術 ~DynamicMethod~ - はかせのラボ hakase0274.hatenablog.com/en…

1
5
also, even if you're not on .NET Core you need to be careful with DynamicMethod etc; different frameworks/versions accept different signatures; "ref return" is only supported recently, for example, despite being perfectly valid (the change was literally to just remove the check)
2
実家に来た3歳の姪っ子に「C#のDynamicMethodって何?」と聞いてみた
2
3
迫真DynamicMethod! FieldAccessExceptionをスルーした先輩! by @Qiita on @Qiita qiita.com/pCYSl5EDgo/items/2…

1
3
Inline #MSIL (Microsoft #IL) in #PowerShell (by utilizing C# & DynamicMethod) E.g.: Decoding Base64 using System.Convert.FromBase64String *In the @FireEye report about new #APT29 phishing campaign, I saw they used "FromBase" 0x40 "String" to evade detection. Find the call now!
4
28
73
Introducing the #dynamicmethod with baseball this morning. Got the tendo hooked up to show them what bar speed is supposed to look like. #darkside #freakfactory
2
3
61