Im studying some ruby code and I see this “varx” variable being used with [0x140,4] <- What does that means? I couldn’t find any ruby doc showing that. The varx is something like a binary string.
varx[0x140, 4] = [0x4a8acb38 - 0x1c].pack('V')
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is replacing 4 “things” in
varxstarting at index 0x140 invarxwith the data returned from the RHS side.Example: