Questions tagged [reversing]

Reversing refers to performing a task in the direction opposite to that which the task is normally performed in. It also refers to changing the order of an ordered list of items such that they are rearranged from the last item to the first item. For questions related to discovering the principles of a human made system through analysis, please use [tag:reverse-engineering].

Reversing refers to performing a task in the direction opposite to that which the task is normally performed in.

It also refers to changing the order of an ordered list of items such that they are rearranged from the last item to the first item.

For questions related to discovering the principles of a human made system through analysis, please use .

113 questions
1
vote
4 answers

C: Palindrome: Different strlen-values

I'm making a function which reverses a string and checks if the string is a palindrome or not. When I test the function with a obvious palindrome like "abba", the function says it's not a palindrome. Also the forward string and the reversed string…
Wickerman
  • 367
  • 2
  • 4
  • 8
1
vote
1 answer

Reversing a string and printing it in IA32 assembly

So basically I'm trying to read a string, increase a counter (in this case, %edx) until I read a \n, and then, going backwards to print it reversed. This is my code: .section .data cadsal: .asciz "Por favor ingrese su cadena:\n" leer: …
1
vote
2 answers

Timing Constructive and destructive reverses

I have a homework assignment where I must constructively and destructively reverse an array list and time it for varying lengths of the list. My Arraylist does update each time I run it but it doesn't seem to register in these methods as I'm not…
user2046257
  • 157
  • 2
  • 10
1
vote
7 answers

Identifying algorithm used to generate codes

How would one identify what algorithm is used to generate codes with? Both common, open source ones, and the more difficult, custom unpublished algorithms? For example here are a…
user155851
  • 37
  • 1
  • 2
0
votes
1 answer

how I can read the value of this variable?

I'm doing some reversing homework and I often encounter some code that looks like this when dealing with classes, here is the pseudo code. int __thiscall sub_858F90(_DWORD *this, int a2) { int result; // eax result = a2; this[0x657] = a2; …
Mov Eax
  • 17
  • 6
0
votes
1 answer

Reversing a Linked List in java

public Node reverseNode(Node head){ Node prevNode = null ; //taken a prev node as null Node currNode = head ; //taken a current node Node tempNode = currNode ; //and a temp Node to keep link with further nodes while…
0
votes
0 answers

How to see assembly code in basic block on IDA pro

I reversing my test program on IDA. I want to see Control Flaw Graph that basic block has instructions. But my IDA only show me the function name. . . This is my IDA pro screen And This is what I want to see Please help me . . .
cheon
  • 1
0
votes
2 answers

Windbg multiple memory windows

I have tried to open multiple memory windows but I can't. I tried to find resolution for this on windbg help and on old version it is possible, however on new version I can't find how to open multiple memory windows. Please help me!
0
votes
0 answers

Patching a file with x64dbg after finding ram addresses

I've been tinkering with an exe game. After finding a memory address I wanted to change using Cheat Engine (I want to change a je to a jne op), I successfully managed to change the game's code. I want to modify the .exe file so that when I launch…
0
votes
0 answers

Reverse order of words in a variable containing strings in R

I have a variable containing university names in R: mydata = data.frame(matrix(nrow=3)) mydata$uni <- c("University of Texas", "University of Washington", "Harvard University", "The Scripps Research Institute") I want to end up with a variable,…
EmilA
  • 11
  • 2
0
votes
1 answer

Finding algorithm with Binwalk

actually, it all started when I wanted to update the map of my car navigation. The map of the device can only be updated with the sd card and unfortunately it does not update because the cid code on the sd card does not match. I wanted to find the…
RNS315
  • 1
  • 2
0
votes
1 answer

File descriptors in linux; Pwnable kr challenge

In order to understand the workings of C and linux, I was doing the pwnable.kr challenges, but there is something in the first challenge that doesn't quite add to me. #include #include char buf[32]; int main(int argc, char*…
soyr
  • 13
  • 1
0
votes
0 answers

I know that the command to get the current time is INT21 2AH, but this error popped up

How do I resolve the error in the course I am currently working on?
LEO
  • 1
0
votes
2 answers

Why is my C code running an infinite loop and how do I obtain my expected output?

Why is my C code running an infinite loop and how do I fix it to obtain my expected output ? I am supposed to reverse nodes from A to B So let's say I give an input of : 2 5 1 2 3 4 5 6 7 The first line is to indicate from which index to which index…
0
votes
1 answer

Is there a simple way of reversing the dates in a dataframe in R?

I have downloaded the daily prices for bitcoin as a .csv file, and the data is sorted from 2021-2017, but I want it to go from 2017 to 2021. My best solution was to reverse each column by indexing, but this is a bit time consuming with 10 columns…
Sverre
  • 3
  • 3