Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when use mono BitMono.CLI.exe #93

Closed
sunnamed434 opened this issue Feb 13, 2023 · 0 comments · Fixed by #101
Closed

Error when use mono BitMono.CLI.exe #93

sunnamed434 opened this issue Feb 13, 2023 · 0 comments · Fixed by #101
Labels
bug Something isn't working

Comments

@sunnamed434
Copy link
Owner

sunnamed434 commented Feb 13, 2023

BitMono Version

0.10.0-alpha.19

.NET Version

.NET Framework 462

Description

Try to run the BitMono CLI using the mono via cmd or something else

Reproduction URL

No response

Reproduction steps

1. Run BitMono CLI using the mono
2. Specify file and libs
3. Get the error

Screenshots

No response

Logs

Something went wrong! System.ArgumentException: method argument length mismatch
  at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method, System.Boolean throwOnBindFailure, System.Boolean allowClosed) [0x000ee] in <66bc44eade6647288b9f2146b40444d2>:0
  at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method) [0x00000] in <66bc44eade6647288b9f2146b40444d2>:0
  at System.Reflection.RuntimeMethodInfo.CreateDelegate (System.Type delegateType, System.Object target) [0x00000] in <66bc44eade6647288b9f2146b40444d2>:0
  at BitMono.Core.Extensions.RuntimeUtilities.GetFrameworkInformation () [0x00064] in <6c1a393db6f5465c891d66c4f1ad1612>:0
  at BitMono.Obfuscation.BitMonoObfuscator.OutputFrameworkInformationAsync (BitMono.API.Protecting.Contexts.ProtectionContext context) [0x00000] in <7123db8a774543808bf736a3e41f490a>:0
  at BitMono.Core.Protecting.Pipeline.InvokablePipeline+<InvokeAsync>d__12.MoveNext () [0x0002a] in <6c1a393db6f5465c891d66c4f1ad1612>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <66bc44eade6647288b9f2146b40444d2>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <66bc44eade6647288b9f2146b40444d2>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <66bc44eade6647288b9f2146b40444d2>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <66bc44eade6647288b9f2146b40444d2>:0
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <66bc44eade6647288b9f2146b40444d2>:0
  at BitMono.Obfuscation.BitMonoObfuscator+<ProtectAsync>d__17.MoveNext () [0x001b7] in <7123db8a774543808bf736a3e41f490a>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <66bc44eade6647288b9f2146b40444d2>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <66bc44eade6647288b9f2146b40444d2>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <66bc44eade6647288b9f2146b40444d2>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <66bc44eade6647288b9f2146b40444d2>:0
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <66bc44eade6647288b9f2146b40444d2>:0
  at BitMono.Obfuscation.BitMonoEngine+<StartAsync>d__8.MoveNext () [0x00113] in <7123db8a774543808bf736a3e41f490a>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <66bc44eade6647288b9f2146b40444d2>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <66bc44eade6647288b9f2146b40444d2>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <66bc44eade6647288b9f2146b40444d2>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <66bc44eade6647288b9f2146b40444d2>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <66bc44eade6647288b9f2146b40444d2>:0
  at BitMono.Obfuscation.BitMonoEngine+<StartAsync>d__9.MoveNext () [0x000ee] in <7123db8a774543808bf736a3e41f490a>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <66bc44eade6647288b9f2146b40444d2>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <66bc44eade6647288b9f2146b40444d2>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <66bc44eade6647288b9f2146b40444d2>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <66bc44eade6647288b9f2146b40444d2>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <66bc44eade6647288b9f2146b40444d2>:0
  at BitMono.Obfuscation.BitMonoEngine+<StartAsync>d__10.MoveNext () [0x00093] in <7123db8a774543808bf736a3e41f490a>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <66bc44eade6647288b9f2146b40444d2>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <66bc44eade6647288b9f2146b40444d2>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <66bc44eade6647288b9f2146b40444d2>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <66bc44eade6647288b9f2146b40444d2>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <66bc44eade6647288b9f2146b40444d2>:0
  at BitMono.CLI.Program+<Main>d__0.MoveNext () [0x0024a] in <0deb01c8cba6409fa10adebc863ac1ae>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <66bc44eade6647288b9f2146b40444d2>:0
  at BitMono.CLI.Program+<Main>d__0.MoveNext () [0x0032d] in <0deb01c8cba6409fa10adebc863ac1ae>:0

Applications

CLI

OS

Windows

@sunnamed434 sunnamed434 added the bug Something isn't working label Feb 13, 2023
@sunnamed434 sunnamed434 added this to the 0.11.0-alpha.20 milestone Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant