paxcut
paxcut
The main topic of this issue is the crash of ImHex which should never happen. ImHex 1.33.0 had some stability issues that have been fixed in 1.33.1. You stated that...
I debugged this error and found that the way location is being obtained in pattern_language.cpp and evaluator.cpp ends up using corrupted or invalid values. pattern_language.cpp uses getCallStack() and evaluator.cpp uses...
I ran the original code that started this issue and it didn't crash as seen next 
Structs can be initialized the same way as any other variable. This creates local variables too. ```cpp import std.io as io; struct Test_Local { u8 f; }; Test_Local tl; tl.f=8;...
copying an array: ```cpp import std.io as io; struct Test_Local { u8 f[4]; }; Test_Local tl; tl.f[0]=8; tl.f[1]=9; tl.f[2]=-3; tl.f[3]=6; struct Test { Test_Local ro=tl; u8 h; }; Test ns@0;...
> I'm going to assume that tl and ns.ro are the same struct, not "copies" of the same struct. In that case, that wouldn't work if I want to make...
You really dont need to declare a new structure to make it local, this code would do it as well: ```cpp struct MyStruct { u32 abc; u16 def; }; MyStruct...
Now that I think about it, the fact it doesn't work may be a bug. i need to look more into it Details Im sorry, setting var3.abc=10 in the array...
the only problem i see in your example code that wasn't already known is that += is not working as it should. there is a known problem using the dot...
I'm sorry, I didn't express myself correctly. By known problem I meant known as a result of out recent exchanges as I mentioned it in one of the issues you...