Romain Thomas

Results 187 comments of Romain Thomas

Hi, Could you try with: ```python b.build_imports(False) b.patch_imports(False) ```

And by removing ``s.virtual_address = 0x00420000`` ?

I will check why it fails but specifying an RVA can be dangerous as when rebuilding the binary new sections could be added by LIEF and my override the given...

Hello @bedangSen I didn't work yet on this issue but I will update it when I'll start to handle the problem.

Hi! Yes currently it's not supported

> While review, there is not a good way to create a ELF if not exist (Because we need to known the type and keep the API). I agree, I'm...

**_Posted in #659 and copied to track the use-case:_** --- Hello, Thanks for your reply. I think there are two issues, which could be discussed separately: 1. A Python program...

> 1. A Python program using LIEF can segfault (when calling elf.add(segment) on a crafted elf object). In my humble opinion, it would be more developer-friendly to report an error...

Hi @niooss-ledger Currently the new builder does still not enable to create an ELF from scratch. It assumes that the underlying ELF file is already setup with a minimum layout....

> 1. A Python program using LIEF can segfault (when calling elf.add(segment) on a crafted elf object). In my humble opinion, it would be more developer-friendly to report an error...