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

File "./sifter.py", line 817, in main arch = re.search(r".*(..)-bit.*", injector_bitness).group(1) #71

Open
blastwave opened this issue Sep 29, 2019 · 5 comments

Comments

@blastwave
Copy link

Made the attempt to use this on a Debian sid based system which is twenty year old hardware. The processors are real Intel Pentium II ( Deschutes ) modules and there are two of them.

However :

titan# ./sifter.py --unk --dis --len --sync --tick -- -P1 -t
Traceback (most recent call last):
File "./sifter.py", line 842, in
main()
File "./sifter.py", line 817, in main
arch = re.search(r".(..)-bit.", injector_bitness).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
titan#

titan# git remote show origin

Not sure what to do with that other than just let you know.

--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders included

@blastwave
Copy link
Author

I am going to guess that 32-bit systems are out of the question.

@CompaqDisc
Copy link

Can reproduce on my Arch Linux setup, running on a Ryzen 5 2600.

compaqdisc@keystone:~/sandsifter$ sudo python2.7 sifter.py --unk --dis --len --sync --tick -- -P1 -t
Traceback (most recent call last):
  File "sifter.py", line 842, in <module>
    main()
  File "sifter.py", line 817, in main
    arch = re.search(r".*(..)-bit.*", injector_bitness).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
compaqdisc@keystone:~/sandsifter$ uname -a
Linux keystone 5.3.1-arch1-1-ARCH #1 SMP PREEMPT Sat Sep 21 11:33:49 UTC 2019 x86_64 GNU/Linux

@CompaqDisc
Copy link

Commenting out the line and replacing with arch = 64-bit worked for me, but I'd hazard a guess that any string may be fine there.

@mkdahan
Copy link

mkdahan commented Dec 1, 2020

the same issue for me,
Intel(R) Core(TM)2 Quad CPU Q8300 @ 2.50GHz processor
If changing to arch = '64-bit'
get this summary:
insn tested: 0
artf found: 0
runtime: 00:00:00.21
seed: 2552905624
arch: 64-bit
date: 2020-12-01 12:35:24

cpu:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Quad CPU Q8300 @ 2.50GHz
stepping : 10
microcode : 0xffffffff

@Scoder12
Copy link

Happened to me, you need to run make first. (make CFLAGS=-no-pie specifically)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants