Displaying 20 results from an estimated 100 matches similar to: "[LLVMdev] getting pointer to CFG object for any given C program"
2024 Dec 21
2
[PATCH 0/2] Fix Memory Management Issue in `ssh-sk-helper` with External SK Libraries
Hi,
Sometimes, users might find that the `ssh-sk-helper` crashes after
enrolling a new key when using external SK libraries.
Currently, the memory returned by SK APIs is freed by the host, but
external libraries may have their own methods of handling memory. For
instance some external libraries are linked against a foreign libc
statically. As a result, the `ssh-sk-helper` would have issues if
2017 Jun 27
3
Testing utility for building and updating CFG
Hi folks,
I’m working on adding an API for incremental updates to DominatorTree and I
noticed that there isn’t a simple way to quickly build and update CFG (just
for testing) -- one has to either build CFG programmatically, or write IR
by hand and manually map pointers to basic blocks. The downside is that it
tends to be pretty verbose and not easy to update (e.g. adding a new edge
often involves
2004 May 25
1
Samba-3.0.4 write list problem
Hi,
I am using security=share, and have just upgraded samba server from 3.0.2 to 3.0.4, after upgrading write list option had stopped working. Below is the contents of smb.conf file, which was working with 3.0.2 but not with 3.0.4
[global]
workgroup = CSW
netbios name = DATA8
security = share
server string = Test Samba 3.0
os level = 42
guest account = smbguest
log file =
2012 Oct 02
0
[LLVMdev] LLVM IR and CFG
Hi,
I want to know few things:
1) is LLVM IR (obtained from -emit-llvm option) an in-memory CFG?
Say, I have hello.c and I generate bit-code using:
clang -O3 -emit-llvm hello.c -c -o hello.bc
Next, I redirect this bit code to opt:
opt -load ../../Release+Asserts/lib/Hello.so -hello < hello.bc >
/dev/null
I have attached a example.tar.gz with one simple iterator.cpp and
output from
2020 Mar 10
2
RFC: Making a common successor/predecessor interface
On Tue, Mar 10, 2020 at 2:30 PM David Blaikie <dblaikie at gmail.com> wrote:
>
>
> On Tue, Mar 10, 2020 at 8:31 AM Alina Sbirlea <alina.sbirlea at gmail.com>
> wrote:
>
>> Hi Dave,
>>
>> It may be possible to do this with the current API, but what I was
>> looking for is a common API for existing block types. For example there is
>> no
2005 Apr 27
23
eth0 & eth1 changing every boot
This is probably a stupid question, but I''m stumped. Practically
every time my firewall boots (not often, but still) eth0 and eth1
exchange places (internet and intranet). How do I lock them down?
SuSE 9.2, Shorewall 2.2.3.
Thanks!
Mike-
--
Mornings: Evolution in action. Only the grumpy will survive.
--
Please note - Due to the intense volume of spam, we have installed site-wide
2020 Mar 10
4
RFC: Making a common successor/predecessor interface
Hi Dave,
It may be possible to do this with the current API, but what I was looking
for is a common API for existing block types. For example there is no
succ_begin for Machine BasicBlock.
I'm looking to make the CFGSuccessors and CFGPredecessors classes in
CFGDiff.h templated, and this needs a common API for all types
instantiations.
Does this clarify your question or did I misunderstand
2020 Mar 09
3
RFC: Making a common successor/predecessor interface
Hi,
As part of an ongoing work to extend the GraphDiff (this models a CFG
view), I came across the need to have a common interface for accessing
successors/predecessors in various IR units, such that a type such as
`typename NodeT::succ_iterator` could be used in templated code.
In particular, the need arose for BasicBlocks, MachineBasicBlocks,
VPBlockBase and clang::CFGBlock.
The least invasive
2005 Jun 13
2
SuSE 9.3 domU /sbin/ifup workaround
Hi all
I have a SuSE 9.3 domU. It has a eth0 interface, corresponding
to some vif interface in the dom0. Running
ifup eth0
doesn''t seem to work. This means I don''t get any network.
It seems that /sbin/ifup relies upon /sbin/getcfg but getcfg
does not seem to find the right configuration for the eth0 device.
A attached a patch below with a work around for this.
2010 Feb 22
2
Siegel-Tukey test for equal variability (code)
Hi, I recently ran into the problem that I needed a Siegel-Tukey test for
equal variability based on ranks. Maybe there is a package that has it
implemented, but I could not find it. So I programmed an R function to do
it. The Siegel-Tukey test requires to recode the ranks so that they express
variability rather than ascending order. This is essentially what the code
further below does. After the
2014 Mar 28
2
[LLVMdev] How to extract the starting address of each basic block with llvm?
Dear all,
I use the clang frontend to produce the control flow graph of a C program
through
this command:
clang -Xclang -analyze -Xclang -analyzer-checker=debug.DumpCFG test.c
The produced information contains all the basic blocks identified by labels,
e.g. B1, B2, etc. along with their predecessors and successors.
Is there a way to get the starting address of each of these basic block?
I would
2012 Sep 28
1
[LLVMdev] [LLVM-Clang CFG] - generating CFG of a C program and llvm iterators
Hi,
I want to generate Control Flow Graph (in memory CFG object) of any
given C program and then iterate over this CFG (all function, basic
blocks and instructions) using llvm iterators.
I can see text output of CFG on screen, using following command:
`clang -cc1 -Idummyh -analyze -analyzer-checker=debug.DumpCFG
hello/hello.c'
where dummyh has en empty stdio.h to remove this error:
`fatal
2005 Nov 08
10
Hotplug script not working
I have problem to start domU with errors:
# xm create -c x335-hien1-vm4.cfg
Using config file "x335-hien1-vm4.cfg".
Error: Device 0 (vif) could not be connected. Hotplug scripts not working
in changeset:
changeset: 7700:98bcd8fbd5e36662c10becdcd0222a22161bb2b6
tag: tip
user: kaf24@firebug.cl.cam.ac.uk
date: Tue Nov 8 09:48:42 2005
summary: Fix alloc_skb()
2009 Apr 24
1
vesamenu.c32 broken? blame F10?
Hello,
vesamenu.c32 from syslinux-3.75.tar.bz2 is broken in my tests with:
- qemu 0.9.1 -cdrom iso_image
- qemu 0.9.1 -cdrom iso_image -std-vga
- virtualbox 2.2.0 (Sun version)
It blocks right after showing the copyright notice.
I've since compiled the following versions in my machine, running Fedora 10:
- syslinux-3.63
- syslinux-3.72
- syslinux-3.73
- syslinux-3.75-143-g080bf56
I did a
2012 Sep 29
1
[LLVMdev] [LLVM-Clang CFG] - generating CFG of a C program and llvm iterators
I don't see -flto option with clang 3.0/1 as Duncan mentioned.
Can you give me specific pointers to generate in-memory CFG using clang
+ llvm ?
Rajendra
http://www.cse.iitb.ac.in/~rks
2011 Mar 28
1
Samba 3.2.15 : DOS charset problem on powerpc big endian architecture
Hello,
With a default CP850 dos charset, I can?t connect and receive a ?protocol
negotiation failed? error message
# testparm -v |grep charset
Load smb config files from /etc/samba/smb.conf
Module '/usr/lib/charset/CP850.so' loaded
Server role: ROLE_STANDALONE
dos charset = CP850
unix charset = UTF-8
display charset = LOCALE
# smbclient -L MYSERVER
1998 Nov 09
0
Password changing on SCO openserver
I have been trying to make password changing work with Samba from a Windows
95 clients.
All the workstations use nonencrypted passwords. The server is SCO Open
Server, Samba 1.9.18p10.
The relevant lines of smb.conf are
passwd chat = *Old*password* %o\n "1):" \n *New*password* %n\n
*Re-enter*password* %n \n
passwd chat debug = yes
passwd program = /bin/passwd
unix password sync = yes
1998 Aug 01
0
smbpasswd and nmbd don't call my password program
I have samba-1.9.18p7-2
smb.conf says:
# Configure smbpasswd
passwd chat debug = yes
# Default
passwd chat = *old*password* %o\n *new*password* %n\n *new*password* %n\n
*changed*
passwd program = /usr/bin/yppasswd
Using smbpasswd, my encrypted password is changed, but yppasswd is not even
touched (as per ls -lu /usr/bin/yppasswd).
Furthermore, running smbd with -d 100 didn't seem to show
2007 Mar 09
0
winbind + ADS = NT_STATUS_LOGON_FAILURE
Hi all,
I've searched the list archives and found similar issues, but none of
the resolutions I found worked for me. When I try to connect to my
samba share with an Active Directory domain account, I get denied:
$ smbclient -U SOTS+jason //media/tmp xxxxxxxx
session setup failed: NT_STATUS_LOGON_FAILURE
Looking at the log files I found this (complete file is posted below):
2007 Feb 04
0
Samba and Cisco's WebVPN
Hi All,
I'm posting this just in case someone can tell what's going on with
samba that would prevent this from working. Cisco has the ability to
see a smb share from their webvpn product with CIFS. We can browse
windows shares but not samba shares. The following log outputs are
from my ASA firewall. I know these are cisco logs but I'm hoping a
lightbulb will come on for someone. The