Skip to main content

Questions tagged [struct]

A specific C language data-type construct which allow to declare a list of primitive types variables bound together in a single logical memory unit.

0 votes
1 answer
27 views

I have a Linux kernel that I open with Ghidra. There is a task_struct that I want to map all the fields. The problem is that os big struct (around 3000 bytes) and have lot of ifdef in the source code. ...
Polo1990's user avatar
0 votes
0 answers
84 views

For a PowerPC binary with debugging symbols, the function signature is: CrossProduct(VECTOR *,VECTOR,VECTOR) It's correct as it matches the source code for an older version of the application: void ...
aybe's user avatar
  • 249
1 vote
0 answers
85 views

I'm trying to parse a binary file and it has a structure similar to this, struct foo { int64_t count_things; int64_t offset_to_thing[count]; int8_t bytes[]; int64_t other fields; } ...
Evan Carroll's user avatar
  • 1,789
1 vote
0 answers
338 views

I am trying to reverse a c++ program and make the decompiler represent a byte-array in a single line. The c++ code contains the following line: BYTE fileArray[139] = {0x50, 0x51....} Ghidra ...
0x0000000000000000000's user avatar
3 votes
1 answer
267 views

There is a structure with size of 16-Bytes, and an array of it is defined. The disassembly code for navigation through the array is: MOV i, i,LSL#4 LDR R4, =arr_of_struct ADD i, i, R4 LDR ...
E.A's user avatar
  • 161
2 votes
0 answers
120 views

In older versions of IDA, you could right-click a struct in the structure view and change its position in the list, making it easier to separate "internal" vs "external" structs. ...
Drew McGowen's user avatar
2 votes
0 answers
83 views

If I analyse multiple PDF files with a hex editor, I see that all of them have two trailers. That's possible if an object has changed or renewed (https://blog.idrsolutions.com/multiple-trailers-in-a-...
Moooz's user avatar
  • 21
2 votes
1 answer
407 views

When decompiling an exe file, I have defined two structs struct A and struct B that are of the same structure. They appeared under different contexts, thus I assumed that they were different structs. ...
WhatsUp's user avatar
  • 143
1 vote
0 answers
73 views

What I know about it: struct unknown_struct { struct _KAPC apc; struct _KEVENT event; char unknown[2056]; }; So first a kernel apc struct then a kernel event struct and the total size is ...
EatingTechnobladesRemainsAt3am's user avatar
0 votes
2 answers
1k views

In IDA, I have the following disassembly code (from an old 16-bit DOS application) : les bx, _Foo mov word ptr es:[bx+84h], 0FFFFh mov word ptr es:[bx+8Ch], 0FFFFh mov word ptr es:[bx+...
tigrou's user avatar
  • 381
2 votes
1 answer
476 views

how do I go around figuring out where to reverse engineer a struct? As shown in the picture below, I have this function called "struct dynamic_array" which I want to reverse engineer and ...
Oliver Vedel Rasmussen's user avatar
2 votes
2 answers
641 views

I have an object named ComputeService::RPC that is being used as input in a function inside a binary file: __int64 __fastcall ComputeService::Rpc::GetClientProcessId(ComputeService::Rpc *this) pc *...
E235's user avatar
  • 583
-1 votes
2 answers
1k views

Im trying make my idb beautier. I want to parse the offset to PE structure. Here is some example: I want to parse (module + 60) to (module_base->e_lfanew) but when i change the type of module_base ...
Brian MJ's user avatar
1 vote
1 answer
188 views

I want to define struct in Ida , but I know only partial of this struct I only know that in arr[12] that int student_id , and I don't know the rest of struct. Ida recognize that struct as char * . How ...
func's user avatar
  • 43
0 votes
1 answer
208 views

I have a function with the first few instructions defined as follows: sub rsp, 0x80 lea rbp, [rsp + 0x20] mov qword [rbp + 0x58], rsi mov qword [rbp + 0x50], rbx mov qword [rbp + 0x70], rcx mov ...
Chris H's user avatar
  • 111

15 30 50 per page
1
2 3 4 5