Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project load creates files in current directory #7480

Closed
hummypkg opened this issue May 12, 2017 · 6 comments
Closed

Project load creates files in current directory #7480

hummypkg opened this issue May 12, 2017 · 6 comments
Labels
projects Loading, saving and handling radare2 project files
Milestone

Comments

@hummypkg
Copy link
Contributor

deb# ls -a
./  ../  7466*

deb# r2 -ptest
 -- nothing personal, just bitness
^D
Do you want to save the 'test' project? (Y/n)n

deb# ls -al
total 6.7M
drwxr-xr-x  2 root root 4.0K May 12 10:45 ./
drwx------ 39 root root 4.0K May 12 10:36 ../
-rw-r--r--  1 root root    0 May 12 10:45 100 0x0081c590
-rw-r--r--  1 root root    0 May 12 10:45 180 0x0081dd4c
-rw-r--r--  1 root root    0 May 12 10:45 264 0x0081de00
-rwx------  1 root root 6.7M May 12 10:37 7466*
-rw-r--r--  1 root root    0 May 12 10:45 96 0x00801ac0
-rw-r--r--  1 root root    0 May 12 10:45 96 0x0080dd6c
-rw-r--r--  1 root root    0 May 12 10:45 .construct 184 0x0081dc94
-rw-r--r--  1 root root    0 May 12 10:45 .construct f n
-rw-r--r--  1 root root    0 May 12 10:45 ::__copy_b<std::string*,std.string*> 148 0x0081c67c
-rw-r--r--  1 root root    0 May 12 10:45 ::__copy_b<std::string*,std.string*> f n
-rw-r--r--  1 root root    0 May 12 10:45 f n
-rw-r--r--  1 root root    0 May 12 10:45 ._M_insert_aux 1524 0x0081dfa0
-rw-r--r--  1 root root    0 May 12 10:45 ._M_insert_aux f n
-rw-r--r--  1 root root    0 May 12 10:45 .push_back 176 0x0081e594
-rw-r--r--  1 root root    0 May 12 10:45 .push_back f n
@radare
Copy link
Collaborator

radare commented May 12, 2017 via email

@hummypkg
Copy link
Contributor Author

hummypkg commented May 12, 2017

Yes, latest git version. This is the same file as in issue #7466

#r2 7466
aa
Pstest

then load the file as above.

@Maijin
Copy link
Contributor

Maijin commented May 12, 2017

What is this command Pstest. You're supposed to put a space like: Ps test

@hummypkg
Copy link
Contributor Author

hummypkg commented May 12, 2017

The space can be omitted, but just to be sure, here's the same process /with/ the space..

deb# r2 7466
 -- Search returned no hits. Did you mean 'Misassemble'?
[0x00413aa0]> aa
[x] Analyze all flags starting with sym. and entry0 (aa)
[0x00413aa0]> P- test
rm /root/.config/radare2/projects/test/rc
[0x00413aa0]> Ps test
test
^D
Do you want to save the 'test' project? (Y/n)

deb# ls -a
./  ../  7466*
deb# r2 -p test
 -- radare2 contributes to the One Byte Per Child foundation.
[0x00413aa0]> ls
     96 0x00801ac0      264 0x0081de00      180 0x0081dd4c  .construct 184 0x0081dc94
._M_insert_aux 1524 0x0081dfa0      .push_back f n  ::__copy_b<std::string*,std.string*> f n      .construct f n
    100 0x0081c590                 f n                  ./  ._M_insert_aux f n
::__copy_b<std::string*,std.string*> 148 0x0081c67c  .push_back 176 0x0081e594       96 0x0080dd6c                7466
               ../
^Cx00413aa0]>

@Maijin Maijin added bug projects Loading, saving and handling radare2 project files labels May 12, 2017
@Maijin Maijin added this to the 1.5.0 milestone May 12, 2017
@radare radare closed this as completed in e1253e0 May 13, 2017
@radare
Copy link
Collaborator

radare commented May 13, 2017

Can you add a test please?

@radare
Copy link
Collaborator

radare commented May 14, 2017

Its fixed in master pls send a test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
projects Loading, saving and handling radare2 project files
Projects
None yet
Development

No branches or pull requests

3 participants