mattiasgrenfeldt

Results 9 comments of mattiasgrenfeldt

I wanted to experiment with how it would look if there did exist versions of the registers with sizes 3, 5, 6, and 7. So I attempted to copy the...

@dev747368 Is you `CURRENT_G` a local variable that you have manually named and typed or have you set up something so that there is always an assumed variable in every...

@dev747368 Nice approach with using register assumptions and a labeled piece of memory! I have also used register assumptions to set XMM15 to 0, but I didn't think that you...

> I'm of the opinion that patching should be avoided like covid unless you are actually looking to patch and export the program. Why? If it can be used to...

I discovered a related issue. When the `PrettyPrinter` prints the function prototype, it does not do the normalization either. This can be seen in the function `findSignature` which directly follows...

Similarly to my other issue #5240 , the decompiler view and export seems to handle this well: ![image](https://user-images.githubusercontent.com/9297883/233651244-7c23f42e-66fe-49cb-8b82-2eeeeb1ed494.png)

My current workaround is to make a copy of `Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/DataTypeWriter.java` and change `getTypeDeclaration`: ```java private String getTypeDeclaration(/* ... */){ // ... if (componentString == null) { if (dataType instanceof BitFieldDataType)...

Hello Ryan! Sorry for not answering earlier, but here is what I changed in `getTypeDeclaration`: ```java if (componentString == null) { if (dataType instanceof BitFieldDataType) { BitFieldDataType bfDt = (BitFieldDataType)...

This feature was also talked about in #20 #140 #320