rockrid3r

Results 16 comments of rockrid3r

Thanks, didn't see this. Still the code (taken from `librz/type/path.c`) ```c RZ_API ut64 rz_type_db_struct_member_offset(RZ_NONNULL const RzTypeDB *typedb, RZ_NONNULL const char *name, RZ_NONNULL const char *member) { rz_return_val_if_fail(typedb && name &&...

Ok, somewhat agree here. Maybe we shouldn't close the issue though. C keeps that somewhat strict. This ``` struct A { struct { int b; }; int b; } a;...

The `libstdc++` is not synchronously released with each `libc.so` version (indeed they are provided in different packages). I couldn't find any relation between `libstdc++` and `libc.so` version, so probably it...

The way scope is defined right now is wrong. Firstly, it uses the `RzBinDwarfCompUnit->name`, which is basically filename of CU, not the place where struct was defined (struct may be...

There is a another scenario though: ```c /* header.h */ struct A { int a; int b; } ``` ```c #include "header.h" /* main.c */ struct A a; int main()...

## 100% bug If you use the `avgp` function (which prints the type of variable) on `b` you get this: ``` [0x00001040]> avgp b a : 0x00004020 = 0 b...

Okay so here is my main point: * There is an efficient way to verify if 2 structs with the same name are equal or not. There are 2 different...

@DMaroo respect. Good research. Most probably will proceed with 2. Will open draft PR soon.

@DMaroo it looks like `RzBinDwarfCompUnit` info is not enough to define type scope. The `DW_AT_decl_file` is necessary since the struct may be included from header file. Header file won't appear...

The way we supposed to change it: add the `RzTypeScope` thing for each `RzBaseType` is a too big change. It is beautiful and probably the way it should be done,...