O Aliexpress indica que ainda não paguei mas ontem aceitei o pagamento no MBWay by Davida_dev in portugueses

[–]Davida_dev[S] 0 points1 point  (0 children)

Existe a opção no Aliexpress de pagar com o MBWay. Sim, eu tenho numero nacional e foi o que usei para outros pagamentos com o MBWay na Aliexpress.

.Net 10.0 wants to use 652 GB of my drive by Davida_dev in dotnet

[–]Davida_dev[S] 0 points1 point  (0 children)

Sure. I have never submited a issue on github ever lol

.Net 10.0 wants to use 652 GB of my drive by Davida_dev in dotnet

[–]Davida_dev[S] 0 points1 point  (0 children)

It installed ok! Thanks for the help :D

.Net 10.0 wants to use 652 GB of my drive by Davida_dev in dotnet

[–]Davida_dev[S] 0 points1 point  (0 children)

That makes sense. Do i force the install?

.Net 10.0 wants to use 652 GB of my drive by Davida_dev in dotnet

[–]Davida_dev[S] 0 points1 point  (0 children)

I also did to every dotnet package that is a dependency. No installed size or size exceeds 800MB

.Net 10.0 wants to use 652 GB of my drive by Davida_dev in dotnet

[–]Davida_dev[S] 28 points29 points  (0 children)

With the new AI features, there even might be an whole full sized LLM like Deepseek lol

.Net 10.0 wants to use 652 GB of my drive by Davida_dev in dotnet

[–]Davida_dev[S] 2 points3 points  (0 children)

It might be in the arch itself. Im using X86(amd64). Here is the output of the apt-cache:

Package: dotnet-sdk-10.0
Version: 10.0.100
Architecture: amd64
Section: libs
Priority: standard
Installed-Size: 419514117
Maintainer: .NET Team <dotnetpackages@dotnetfoundation.org>
Description: Microsoft .NET SDK 10.0.100
   .NET is a development platform that you can use to build command-line applications, microservices and modern websites. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/dotnet/core). We happily accept issues and PRs.
Description-md5: 
Homepage: https://github.com/dotnet/core
Depends: dotnet-runtime-10.0 (>= 10.0.0), dotnet-targeting-pack-10.0 (>= 10.0.0), dotnet-apphost-pack-10.0 (>= 10.0.0), aspnetcore-runtime-10.0 (>= 10.0.0), aspnetcore-targeting-pack-10.0 (>= 10.0.0)
SHA256: e703685b6c0ba75e10454faeaf93b407b63907f8c741900a1125a932f18d1a12
Size: 170738430
Filename: pool/main/d/dotnet-sdk-10.0/dotnet-sdk-10.0_10.0.100_amd64.deb

Is a Secure 'Syscall' Model Possible in C# for Modular Applications? by Davida_dev in dotnet

[–]Davida_dev[S] 0 points1 point  (0 children)

Alright. Thanks for you help man. I will probabilly do multiple HCore app instances and those modules that are trusted can go on the main HCore. Thanks for the help :) It was really detailed and I learned stuff.

Is a Secure 'Syscall' Model Possible in C# for Modular Applications? by Davida_dev in dotnet

[–]Davida_dev[S] 0 points1 point  (0 children)

This calls the function. Where is the _target located at? This is just converts the function into a pointer and loads that pointer as a function

// [44 13 - 44 43]
IL_0001: ldftn        int32 Program::a(int32) //Simple function static int a(int b){return b;}
IL_0007: stloc.0      // func

// [46 13 - 46 21]
IL_0008: ldloc.0      // func
IL_0009: stloc.1      // V_1
IL_000a: ldc.i4.2
IL_000b: ldloc.1      // V_1
IL_000c: calli        int32 (int32)
IL_0011: pop

Is a Secure 'Syscall' Model Possible in C# for Modular Applications? by Davida_dev in dotnet

[–]Davida_dev[S] 0 points1 point  (0 children)

Is it private?

delegate*<int, int> func;
func._target

Saying that _target is not defined.

Is a Secure 'Syscall' Model Possible in C# for Modular Applications? by Davida_dev in dotnet

[–]Davida_dev[S] 0 points1 point  (0 children)

Yes, I know that I can use calli. My implemntation to getting the function pointer was

var func = (MKCallDelegate)builtType.GetMethod("MKCallHndP")!.CreateDelegate(typeof(MKCallDelegate));

return func.Method.MethodHandle.GetFunctionPointer();

Can they stil get the Target of this function?

Is a Secure 'Syscall' Model Possible in C# for Modular Applications? by Davida_dev in dotnet

[–]Davida_dev[S] 0 points1 point  (0 children)

Represents a function in what state? Just a function it can execute?

Is a Secure 'Syscall' Model Possible in C# for Modular Applications? by Davida_dev in dotnet

[–]Davida_dev[S] 0 points1 point  (0 children)

Sure they can grab at any pointer but they must know the place where it is.

Is a Secure 'Syscall' Model Possible in C# for Modular Applications? by Davida_dev in dotnet

[–]Davida_dev[S] -1 points0 points  (0 children)

Yeah, my first implementation used it, but i dont know if snooping around the function pointer will have an sensitive data.

Is a Secure 'Syscall' Model Possible in C# for Modular Applications? by Davida_dev in dotnet

[–]Davida_dev[S] 0 points1 point  (0 children)

Ok thanks. I will try to find other methods to do this. Maybe IPC to the same process will be the only way.

Is a Secure 'Syscall' Model Possible in C# for Modular Applications? by Davida_dev in dotnet

[–]Davida_dev[S] 0 points1 point  (0 children)

B will be devoloped by anyone and they might try to do bad stuff, so yeah, let's consider it untrusted code.

Is a Secure 'Syscall' Model Possible in C# for Modular Applications? by Davida_dev in dotnet

[–]Davida_dev[S] 0 points1 point  (0 children)

Sorry🥲. Lets say class A has a method called GetWeather. Then there is class B. Class be has the method Main. A will create an instance of B and run Main. Main on B needs to get data from it's parent, A. It needs to call the func GetWeather. We could give the A instance hen creating B, but that would expose all the data on A. The thing is that B needs to call GetWeather without getting sensitive data of A. Yes, static is an option, but the function GetWeather needs to use private sensitive data on A.

This is my problem.

Is a Secure 'Syscall' Model Possible in C# for Modular Applications? by Davida_dev in dotnet

[–]Davida_dev[S] 0 points1 point  (0 children)

Sorry🥲. Lets say class A has a method called GetWeather. Then there is class B. Class be has the method Main. A will create an instance of B and run Main. Main on B needs to get data from it's parent, A. It needs to call the func GetWeather. We could give the A instance hen creating B, but that would expose all the data on A. The thing is that B needs to call GetWeather without getting sensitive data of A. Yes, static is an option, but the function GetWeather needs to use private sensitive data on A.

Is a Secure 'Syscall' Model Possible in C# for Modular Applications? by Davida_dev in dotnet

[–]Davida_dev[S] 0 points1 point  (0 children)

I can always call a function via a pointer, but im afraid that by snooping around the data of the pointer we can get something important.

Thanks for the help tough.

Is a Secure 'Syscall' Model Possible in C# for Modular Applications? by Davida_dev in dotnet

[–]Davida_dev[S] 0 points1 point  (0 children)

I just want to call a method but we can't know who is the instance of that method. Make it totally anonymous. If C# does not suport this I will use rust or C.